mirror of
https://github.com/polhenarejos/pico-keys-sdk
synced 2026-05-28 17:11:23 +02:00
Fix conditional dep build.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
@@ -289,9 +289,17 @@ list(APPEND INCLUDES
|
|||||||
set(SYSTEM_INCLUDES
|
set(SYSTEM_INCLUDES
|
||||||
${SYSTEM_INCLUDES}
|
${SYSTEM_INCLUDES}
|
||||||
${CMAKE_CURRENT_LIST_DIR}/third-party/mbedtls/include
|
${CMAKE_CURRENT_LIST_DIR}/third-party/mbedtls/include
|
||||||
|
)
|
||||||
|
if(USB_ITF_HID)
|
||||||
|
list(APPEND SYSTEM_INCLUDES
|
||||||
${CMAKE_CURRENT_LIST_DIR}/third-party/tinycbor/src
|
${CMAKE_CURRENT_LIST_DIR}/third-party/tinycbor/src
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
if(USB_ITF_LWIP)
|
||||||
|
list(APPEND SYSTEM_INCLUDES
|
||||||
${CMAKE_CURRENT_LIST_DIR}/third-party/cjson
|
${CMAKE_CURRENT_LIST_DIR}/third-party/cjson
|
||||||
)
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(USB_ITF_LWIP)
|
if(USB_ITF_LWIP)
|
||||||
if (NOT ESP_PLATFORM)
|
if (NOT ESP_PLATFORM)
|
||||||
|
|||||||
Reference in New Issue
Block a user