We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b67c4b commit 495a815Copy full SHA for 495a815
Arduino/System/BoardToolchain.cmake
@@ -116,6 +116,7 @@ function (SetupBoardToolchain boards_namespace board_id generate_dir)
116
EXISTS "${ARDUINO_INSTALL_PATH}/lib/version.txt")
117
set(_path "${ARDUINO_INSTALL_PATH}")
118
file(READ "${ARDUINO_INSTALL_PATH}/lib/version.txt" _version)
119
+ string(STRIP "${_version}" _version)
120
else()
121
set(_path "${ARDUINO_TOOLCHAIN_DIR}")
122
set(_version "${ARDUINO_TOOLCHAIN_VERSION}.0")
0 commit comments