You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
790 B
21 lines
790 B
if(UNIX) |
|
include(Platform/UnixPaths) |
|
if(APPLE) |
|
list(APPEND CMAKE_SYSTEM_PREFIX_PATH ~/Applications |
|
/Applications |
|
/Developer/Applications |
|
/sw # Fink |
|
/opt/local) # MacPorts |
|
endif() |
|
elseif(WIN32) |
|
include(Platform/WindowsPaths) |
|
endif() |
|
|
|
if(ARDUINO_SDK_PATH) |
|
if(WIN32) |
|
list(APPEND CMAKE_SYSTEM_PREFIX_PATH ${ARDUINO_SDK_PATH}/hardware/tools/avr/bin) |
|
list(APPEND CMAKE_SYSTEM_PREFIX_PATH ${ARDUINO_SDK_PATH}/hardware/tools/avr/utils/bin) |
|
elseif(APPLE) |
|
list(APPEND CMAKE_SYSTEM_PREFIX_PATH ${ARDUINO_SDK_PATH}/hardware/tools/avr/bin) |
|
endif() |
|
endif()
|
|
|