Skip to content

Commit 92d1de6

Browse files
Merge pull request queezythegreat#85 from cheshirekow/master
Added vars for FindBinutils
2 parents b7fe608 + f81a48a commit 92d1de6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cmake/ArduinoToolchain.cmake

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,9 @@ find_path(ARDUINO_SDK_PATH
6969
DOC "Arduino SDK path.")
7070

7171
if(ARDUINO_SDK_PATH)
72-
list(APPEND CMAKE_SYSTEM_PREFIX_PATH ${ARDUINO_SDK_PATH}/hardware/tools/avr/bin)
73-
list(APPEND CMAKE_SYSTEM_PREFIX_PATH ${ARDUINO_SDK_PATH}/hardware/tools/avr/utils/bin)
72+
list(APPEND CMAKE_SYSTEM_PREFIX_PATH ${ARDUINO_SDK_PATH}/hardware/tools/avr)
73+
list(APPEND CMAKE_SYSTEM_PREFIX_PATH ${ARDUINO_SDK_PATH}/hardware/tools/avr/utils)
7474
else()
7575
message(FATAL_ERROR "Could not find Arduino SDK (set ARDUINO_SDK_PATH)!")
7676
endif()
77+

0 commit comments

Comments
 (0)