mirror of
https://github.com/polhenarejos/pico-openpgp.git
synced 2026-05-30 18:11:22 +02:00
10 lines
298 B
CMake
10 lines
298 B
CMake
idf_component_register(
|
|
SRCS ${SOURCES}
|
|
INCLUDE_DIRS .
|
|
REQUIRES mbedtls efuse pico-keys-sdk
|
|
)
|
|
if(OPENPGP_TEST_INIT_LEGACY_PIN)
|
|
target_compile_definitions(${COMPONENT_LIB} PRIVATE OPENPGP_TEST_INIT_LEGACY_PIN=1)
|
|
endif()
|
|
idf_component_set_property(${COMPONENT_NAME} WHOLE_ARCHIVE ON)
|