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

27 строки
713 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8938931..d111896 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -148,9 +148,7 @@ if (APPLE)
endif()
find_package(OpenSSL REQUIRED)
add_definitions(${XMLSEC_DEFINITIONS})
-if (WIN32)
add_compile_definitions("XMLSEC_CRYPTO_OPENSSL")
-endif()
find_package(BZip2)
# PThread
@@ -610,11 +608,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 ${SYSTEMD_UNITDIR}
- )
endif()
endif()
endif()