1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 13:37:45 +00:00

Meta: Download cacert.pem at build time

This commit is contained in:
Fabian Dellwing 2023-03-14 14:12:58 +01:00 committed by Ali Mohammad Pur
parent 06340ca674
commit b07654c3c1
4 changed files with 31 additions and 1 deletions

View file

@ -588,7 +588,6 @@ if (BUILD_LAGOM)
LibPDF
LibSQL
LibTextCodec
LibTLS
LibTTF
LibTimeZone
LibUnicode
@ -602,6 +601,9 @@ if (BUILD_LAGOM)
add_serenity_subdirectory("Tests/${dir}")
endforeach()
# LibTLS needs a special working directory to find cacert.pem
lagom_test(../../Tests/LibTLS/TestTLSHandshake.cpp LibTLS LIBS LibTLS LibCrypto)
# LibCore
lagom_test(../../Tests/LibCore/TestLibCoreIODevice.cpp WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/../../Tests/LibCore)
@ -717,3 +719,5 @@ if (NOT "$ENV{LAGOM_TARGET}" STREQUAL "")
VERBATIM
)
endif()
include(ca_certificates_data)