mirror of
https://github.com/polhenarejos/pico-keys-sdk
synced 2026-05-28 17:11:23 +02:00
@@ -356,6 +356,16 @@ if(NOT ESP_PLATFORM)
|
||||
add_library(mbedtls STATIC ${MBEDTLS_SOURCES})
|
||||
target_include_directories(mbedtls SYSTEM PUBLIC ${CMAKE_CURRENT_LIST_DIR}/third-party/mbedtls/include)
|
||||
endif()
|
||||
if(ENABLE_LIBCVC)
|
||||
if(EXISTS "${LIBCVC_PATH}/CMakeLists.txt")
|
||||
if(NOT TARGET cvc)
|
||||
add_subdirectory(${LIBCVC_PATH} ${CMAKE_BINARY_DIR}/libcvc_build)
|
||||
endif()
|
||||
list(APPEND LIBRARIES cvc)
|
||||
else()
|
||||
message(FATAL_ERROR "ENABLE_LIBCVC is ON but libcvc source is missing at ${LIBCVC_PATH}")
|
||||
endif()
|
||||
endif()
|
||||
if(USB_ITF_HID)
|
||||
add_library(tinycbor STATIC ${CBOR_SOURCES})
|
||||
target_include_directories(tinycbor SYSTEM PUBLIC ${CMAKE_CURRENT_LIST_DIR}/third-party/tinycbor/src)
|
||||
|
||||
Reference in New Issue
Block a user