vcpkg/ports/openscap/fix-buildflag-and-install.patch
Jia Yue Hua 27d2b9a4c3
[openscap] update to 1.3.7 (#31917)
* [openscap] update to 1.3.6

* update version

* update evrsion

* Fix conflict

* update evrsion

* CI [skip actions]

* fix xmlsec dependency

* fix deps

* fix deps

* fix deps

* fix deps

* fix deps

* CI

* version 1.3.7

* update to 1.3.7

* world

* CI

* fix deps

* fix deps

* CI

* fix deps

* CI

---------

Co-authored-by: Jonliu1993 <13720414433@163.com>
2023-06-13 19:10:09 -07:00

27 lines
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()