'Generic Commit'
Some checks failed
Build-Test-Publish / build (push) Failing after 1m15s

This commit is contained in:
Your Name
2025-06-14 16:17:34 +12:00
parent 820cc1cb28
commit 7e9270921f

View File

@@ -33,20 +33,6 @@ find_package(OpenSSL REQUIRED)
find_package(Drogon CONFIG REQUIRED) find_package(Drogon CONFIG REQUIRED)
find_package(nlohmann_json REQUIRED) find_package(nlohmann_json REQUIRED)
# Create OpenSSL targets for cross-compilation if missing
if(NOT TARGET OpenSSL::SSL)
add_library(OpenSSL::SSL STATIC IMPORTED)
set_target_properties(OpenSSL::SSL PROPERTIES
IMPORTED_LOCATION "/usr/local/lib64/libssl.a"
INTERFACE_INCLUDE_DIRECTORIES "/usr/local/include")
endif()
if(NOT TARGET OpenSSL::Crypto)
add_library(OpenSSL::Crypto STATIC IMPORTED)
set_target_properties(OpenSSL::Crypto PROPERTIES
IMPORTED_LOCATION "/usr/local/lib64/libcrypto.a"
INTERFACE_INCLUDE_DIRECTORIES "/usr/local/include")
endif()
# Determine architecture-specific libunwind # Determine architecture-specific libunwind
if(CMAKE_SYSTEM_PROCESSOR MATCHES "^(x86_64|AMD64)$") if(CMAKE_SYSTEM_PROCESSOR MATCHES "^(x86_64|AMD64)$")
set(LIBUNWIND_ARCH "x86_64") set(LIBUNWIND_ARCH "x86_64")