1 CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
3 SET(PATH_CRT_FILE "${CMAKE_CURRENT_SOURCE_DIR}/ca-bundle.pem")
5 MESSAGE("Generate ca-bundle.pem file")
9 ${CMAKE_CURRENT_SOURCE_DIR}/scripts/concat-cacerts.sh
10 ${CMAKE_CURRENT_SOURCE_DIR}/certs
12 RESULT_VARIABLE ERROR_CODE
16 MESSAGE(FATAL_ERROR "Failed to generate ca-bundle.pem file")
21 DESTINATION ${TZ_SYS_CA_BUNDLE_DIR}
24 CONFIGURE_FILE(packaging/ca-certificates.manifest.in ca-certificates.manifest @ONLY)