Browse Source

move pico_sdk_import.cmake to a cmake subdir

haskal/packaging
haskal 5 months ago
parent
commit
16ce0e9c8b
  1. 2
      CMakeLists.txt
  2. 0
      cmake/pico_sdk_import.cmake

2
CMakeLists.txt

@ -23,7 +23,7 @@ if(FAMILY STREQUAL "rp2040")
if (USE_SYSTEMWIDE_PICOSDK)
set(TOP "$ENV{PICO_SDK_PATH}/lib/tinyusb")
get_filename_component(TOP "${TOP}" REALPATH)
include(pico_sdk_import.cmake)
include(cmake/pico_sdk_import.cmake)
else()
set(PICO_SDK_PATH ${TOP}/hw/mcu/raspberrypi/pico-sdk)
include(${PICO_SDK_PATH}/pico_sdk_init.cmake)

0
pico_sdk_import.cmake → cmake/pico_sdk_import.cmake

Loading…
Cancel
Save