mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-27 15:44:11 +02:00
parent
c86094c826
commit
18005e2c13
@ -345,27 +345,11 @@ if(WIN32)
|
|||||||
list (APPEND ICINGA2_OPENSSL_DLLS ${OPENSSL_INCLUDE_DIR}/../bin/libeay32.dll ${OPENSSL_INCLUDE_DIR}/../bin/ssleay32.dll)
|
list (APPEND ICINGA2_OPENSSL_DLLS ${OPENSSL_INCLUDE_DIR}/../bin/libeay32.dll ${OPENSSL_INCLUDE_DIR}/../bin/ssleay32.dll)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
message (INFO "Using " ${ICINGA2_OPENSSL_DLLS})
|
|
||||||
install(
|
install(
|
||||||
PROGRAMS ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS}
|
PROGRAMS ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS}
|
||||||
${ICINGA2_OPENSSL_DLLS}
|
${ICINGA2_OPENSSL_DLLS}
|
||||||
DESTINATION ${CMAKE_INSTALL_SBINDIR}
|
DESTINATION ${CMAKE_INSTALL_SBINDIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
if (OPENSSL_VERSION_MINOR GREATER_EQUAL 1)
|
|
||||||
install(
|
|
||||||
PROGRAMS ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS}
|
|
||||||
${OPENSSL_INCLUDE_DIR}/../bin/libcrypto-1_1-x64.dll ${OPENSSL_INCLUDE_DIR}/../bin/libssl-1_1-x64.dll
|
|
||||||
DESTINATION ${CMAKE_INSTALL_SBINDIR}
|
|
||||||
)
|
|
||||||
else()
|
|
||||||
install(
|
|
||||||
PROGRAMS ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS}
|
|
||||||
${OPENSSL_INCLUDE_DIR}/../bin/libeay32.dll ${OPENSSL_INCLUDE_DIR}/../bin/ssleay32.dll
|
|
||||||
DESTINATION ${CMAKE_INSTALL_SBINDIR}
|
|
||||||
)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
include(CPack)
|
include(CPack)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user