mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2025-04-23 08:42:31 +00:00
This fixes searching for installed picotool/pioasm on Windows, and generally improves default find_package behaviour
12 lines
307 B
CMake
12 lines
307 B
CMake
# this is included because toolchain file sets SYSTEM_NAME=PICO
|
|
|
|
set_property(GLOBAL PROPERTY TARGET_SUPPORTS_SHARED_LIBS FALSE)
|
|
set(CMAKE_EXECUTABLE_SUFFIX .elf)
|
|
|
|
# include paths to find installed tools
|
|
if(CMAKE_HOST_WIN32)
|
|
include(Platform/WindowsPaths)
|
|
else()
|
|
include(Platform/UnixPaths)
|
|
endif()
|