set(p256m_target ${TF_PSA_CRYPTO_TARGET_PREFIX}p256m) add_library(${p256m_target} p256-m_driver_entrypoints.c p256-m/p256-m.c) set_base_compile_options(${p256m_target}) target_include_directories(${p256m_target} PUBLIC $ $ $ $ $ $ $ PRIVATE ${MBEDTLS_DIR}/library/ ${TF_PSA_CRYPTO_DIR}/core) set_config_files_compile_definitions(${p256m_target}) if(INSTALL_TF_PSA_CRYPTO_HEADERS) install(DIRECTORY p256-m DESTINATION include FILE_PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ DIRECTORY_PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE FILES_MATCHING PATTERN "*.h") endif(INSTALL_TF_PSA_CRYPTO_HEADERS) install(TARGETS ${p256m_target} EXPORT MbedTLSTargets DESTINATION ${CMAKE_INSTALL_LIBDIR} PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ) install(TARGETS ${p256m_target} EXPORT TF-PSA-CryptoTargets DESTINATION ${CMAKE_INSTALL_LIBDIR} PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)