2023-06-14 10:10:09 +08:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2024-08-17 16:41:01 +08:00
|
|
|
index dff0a45..494512e 100644
|
2023-06-14 10:10:09 +08:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2024-08-17 16:41:01 +08:00
|
|
|
@@ -147,9 +147,7 @@ if (APPLE)
|
2023-06-14 10:10:09 +08:00
|
|
|
endif()
|
|
|
|
find_package(OpenSSL REQUIRED)
|
|
|
|
add_definitions(${XMLSEC_DEFINITIONS})
|
|
|
|
-if (WIN32)
|
2024-08-17 16:41:01 +08:00
|
|
|
- add_compile_definitions("XMLSEC_CRYPTO_OPENSSL")
|
2023-06-14 10:10:09 +08:00
|
|
|
-endif()
|
2024-08-17 16:41:01 +08:00
|
|
|
+add_compile_definitions("XMLSEC_CRYPTO_OPENSSL")
|
2023-06-14 10:10:09 +08:00
|
|
|
find_package(BZip2)
|
2024-08-17 16:41:01 +08:00
|
|
|
|
2023-06-14 10:10:09 +08:00
|
|
|
# PThread
|
2024-08-17 16:41:01 +08:00
|
|
|
@@ -614,11 +612,6 @@ if(NOT WIN32)
|
|
|
|
if(WITH_SYSTEMD)
|
|
|
|
if(ENABLE_OSCAP_REMEDIATE_SERVICE)
|
|
|
|
# systemd service for offline (boot-time) remediation
|
|
|
|
- configure_file("oscap-remediate.service.in" "oscap-remediate.service" @ONLY)
|
|
|
|
- install(FILES
|
|
|
|
- ${CMAKE_CURRENT_BINARY_DIR}/oscap-remediate.service
|
|
|
|
- DESTINATION ${CMAKE_INSTALL_PREFIX}/${SYSTEMD_UNITDIR}
|
|
|
|
- )
|
|
|
|
endif()
|
|
|
|
endif()
|
2023-06-14 10:10:09 +08:00
|
|
|
endif()
|