From dc0d58f7faa53fa7f35f413540deedc5259a09e2 Mon Sep 17 00:00:00 2001 From: powtac Date: Sun, 11 Jan 2015 14:48:06 +0100 Subject: [PATCH 1/2] Fix typo in message --- cmake/Platform/Arduino.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Platform/Arduino.cmake b/cmake/Platform/Arduino.cmake index 042a3c1..2edbd8e 100644 --- a/cmake/Platform/Arduino.cmake +++ b/cmake/Platform/Arduino.cmake @@ -2202,7 +2202,7 @@ if(NOT ARDUINO_FOUND AND ARDUINO_SDK_PATH) set(ARDUINO_SDK_VERSION_PATCH ${ARDUINO_SDK_VERSION_PATCH} CACHE STRING "Arduino SDK Patch Version") if(ARDUINO_SDK_VERSION VERSION_LESS 0.19) - message(FATAL_ERROR "Unsupported Arduino SDK (require verion 0.19 or higher)") + message(FATAL_ERROR "Unsupported Arduino SDK (require version 0.19 or higher)") endif() message(STATUS "Arduino SDK version ${ARDUINO_SDK_VERSION}: ${ARDUINO_SDK_PATH}") From 1802737a12b65d76eda4b618a94385c8cf946062 Mon Sep 17 00:00:00 2001 From: powtac Date: Sun, 11 Jan 2015 15:00:26 +0100 Subject: [PATCH 2/2] Fix in method description revisions.txt->versions.txt According to `find_file(ARDUINO_VERSION_PATH ...` on line 2145 the file `lib/version.txt` is been read and not `revisions.txt`. --- cmake/Platform/Arduino.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Platform/Arduino.cmake b/cmake/Platform/Arduino.cmake index 2edbd8e..0a4e5f0 100644 --- a/cmake/Platform/Arduino.cmake +++ b/cmake/Platform/Arduino.cmake @@ -1457,7 +1457,7 @@ endfunction() # # VAR_NAME - Variable name where the detected version will be saved # -# Detects the Arduino SDK Version based on the revisions.txt file. The +# Detects the Arduino SDK Version based on the lib/versions.txt file. The # following variables will be generated: # # ${VAR_NAME} -> the full version (major.minor.patch)