mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2025-12-10 07:14:36 +01:00
Include Platform Paths files for the host (#1826)
This fixes searching for installed picotool/pioasm on Windows, and generally improves default find_package behaviour
This commit is contained in:
parent
e049f5063f
commit
a6f21b6e10
1 changed files with 8 additions and 1 deletions
|
|
@ -1,4 +1,11 @@
|
|||
# this is included because toolchain file sets SYSTEM_NAME=PICO
|
||||
|
||||
set_property(GLOBAL PROPERTY TARGET_SUPPORTS_SHARED_LIBS FALSE)
|
||||
set(CMAKE_EXECUTABLE_SUFFIX .elf)
|
||||
set(CMAKE_EXECUTABLE_SUFFIX .elf)
|
||||
|
||||
# include paths to find installed tools
|
||||
if(CMAKE_HOST_WIN32)
|
||||
include(Platform/WindowsPaths)
|
||||
else()
|
||||
include(Platform/UnixPaths)
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue