cmake: change warning message for unititialized TinyUSB
This commit is contained in:
parent
e526e4f850
commit
d3fa64afc8
@ -8,7 +8,7 @@ if (NOT PICO_TINYUSB_PATH)
|
|||||||
set(PICO_TINYUSB_PATH ${PROJECT_SOURCE_DIR}/lib/tinyusb)
|
set(PICO_TINYUSB_PATH ${PROJECT_SOURCE_DIR}/lib/tinyusb)
|
||||||
if (NOT EXISTS ${PICO_TINYUSB_PATH}/${TINYUSB_TEST_PATH})
|
if (NOT EXISTS ${PICO_TINYUSB_PATH}/${TINYUSB_TEST_PATH})
|
||||||
message(WARNING "TinyUSB submodule has not been initialized; USB support will be unavailable
|
message(WARNING "TinyUSB submodule has not been initialized; USB support will be unavailable
|
||||||
hint: try 'git submodule update --init'.")
|
hint: try 'git submodule update --init' from your SDK directory (${PICO_SDK_PATH}).")
|
||||||
endif()
|
endif()
|
||||||
elseif (NOT EXISTS ${PICO_TINYUSB_PATH}/${TINYUSB_TEST_PATH})
|
elseif (NOT EXISTS ${PICO_TINYUSB_PATH}/${TINYUSB_TEST_PATH})
|
||||||
message(WARNING "PICO_TINYUSB_PATH specified but content not present.")
|
message(WARNING "PICO_TINYUSB_PATH specified but content not present.")
|
||||||
|
Loading…
Reference in New Issue
Block a user