vcpkg/ports/openscap/fix-buildflag-and-install.patch

28 lines
964 B
Diff
Raw Normal View History

diff --git a/CMakeLists.txt b/CMakeLists.txt
2024-08-17 08:41:01 +00:00
index dff0a45..494512e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
2024-08-17 08:41:01 +00:00
@@ -147,9 +147,7 @@ if (APPLE)
endif()
find_package(OpenSSL REQUIRED)
add_definitions(${XMLSEC_DEFINITIONS})
-if (WIN32)
2024-08-17 08:41:01 +00:00
- add_compile_definitions("XMLSEC_CRYPTO_OPENSSL")
-endif()
2024-08-17 08:41:01 +00:00
+add_compile_definitions("XMLSEC_CRYPTO_OPENSSL")
find_package(BZip2)
2024-08-17 08:41:01 +00:00
# PThread
2024-08-17 08:41:01 +00: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()
endif()