mirror of
https://github.com/Icinga/icinga2.git
synced 2025-05-03 06:00:17 +02:00
Windows: bump OpenSSL v1.1 (soon EOL) -> v3.0
This commit is contained in:
parent
02ed374ae0
commit
117ae78755
@ -520,16 +520,16 @@ if(WIN32)
|
|||||||
|
|
||||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/NSCP.msi DESTINATION ${CMAKE_INSTALL_SBINDIR})
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/NSCP.msi DESTINATION ${CMAKE_INSTALL_SBINDIR})
|
||||||
|
|
||||||
if (OPENSSL_VERSION_MINOR GREATER_EQUAL 1)
|
|
||||||
if (CMAKE_VS_PLATFORM_NAME STREQUAL "x64")
|
if (CMAKE_VS_PLATFORM_NAME STREQUAL "x64")
|
||||||
list (APPEND ICINGA2_OPENSSL_DLLS ${OPENSSL_INCLUDE_DIR}/../bin/libcrypto-1_1-x64.dll ${OPENSSL_INCLUDE_DIR}/../bin/libssl-1_1-x64.dll)
|
set(ICINGA2_OPENSSL_DLL_ARCH "-x64")
|
||||||
else()
|
else()
|
||||||
list (APPEND ICINGA2_OPENSSL_DLLS ${OPENSSL_INCLUDE_DIR}/../bin/libcrypto-1_1.dll ${OPENSSL_INCLUDE_DIR}/../bin/libssl-1_1.dll)
|
set(ICINGA2_OPENSSL_DLL_ARCH "")
|
||||||
endif()
|
|
||||||
else()
|
|
||||||
list (APPEND ICINGA2_OPENSSL_DLLS ${OPENSSL_INCLUDE_DIR}/../bin/libeay32.dll ${OPENSSL_INCLUDE_DIR}/../bin/ssleay32.dll)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
foreach(ICINGA2_OPENSSL_LIB crypto ssl)
|
||||||
|
list(APPEND ICINGA2_OPENSSL_DLLS ${OPENSSL_INCLUDE_DIR}/../bin/lib${ICINGA2_OPENSSL_LIB}-3${ICINGA2_OPENSSL_DLL_ARCH}.dll)
|
||||||
|
endforeach()
|
||||||
|
|
||||||
install(
|
install(
|
||||||
PROGRAMS ${ICINGA2_OPENSSL_DLLS}
|
PROGRAMS ${ICINGA2_OPENSSL_DLLS}
|
||||||
DESTINATION ${CMAKE_INSTALL_SBINDIR}
|
DESTINATION ${CMAKE_INSTALL_SBINDIR}
|
||||||
|
@ -482,8 +482,8 @@ File Type: EXECUTABLE IMAGE
|
|||||||
boost_filesystem-vc142-mt-gd-x64-1_82.dll
|
boost_filesystem-vc142-mt-gd-x64-1_82.dll
|
||||||
boost_thread-vc142-mt-gd-x64-1_82.dll
|
boost_thread-vc142-mt-gd-x64-1_82.dll
|
||||||
boost_regex-vc142-mt-gd-x64-1_82.dll
|
boost_regex-vc142-mt-gd-x64-1_82.dll
|
||||||
libssl-1_1-x64.dll
|
libssl-3_0-x64.dll
|
||||||
libcrypto-1_1-x64.dll
|
libcrypto-3_0-x64.dll
|
||||||
WS2_32.dll
|
WS2_32.dll
|
||||||
dbghelp.dll
|
dbghelp.dll
|
||||||
SHLWAPI.dll
|
SHLWAPI.dll
|
||||||
|
@ -14,7 +14,7 @@ function ThrowOnNativeFailure {
|
|||||||
$VsVersion = 2019
|
$VsVersion = 2019
|
||||||
$MsvcVersion = '14.2'
|
$MsvcVersion = '14.2'
|
||||||
$BoostVersion = @(1, 82, 0)
|
$BoostVersion = @(1, 82, 0)
|
||||||
$OpensslVersion = '1_1_1t'
|
$OpensslVersion = '3_0_9'
|
||||||
|
|
||||||
switch ($Env:BITS) {
|
switch ($Env:BITS) {
|
||||||
32 { }
|
32 { }
|
||||||
|
@ -30,7 +30,7 @@ if (-not (Test-Path env:CMAKE_GENERATOR_PLATFORM)) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (-not (Test-Path env:OPENSSL_ROOT_DIR)) {
|
if (-not (Test-Path env:OPENSSL_ROOT_DIR)) {
|
||||||
$env:OPENSSL_ROOT_DIR = "c:\local\OpenSSL_1_1_1t-Win${env:BITS}"
|
$env:OPENSSL_ROOT_DIR = "c:\local\OpenSSL_3_0_9-Win${env:BITS}"
|
||||||
}
|
}
|
||||||
if (-not (Test-Path env:BOOST_ROOT)) {
|
if (-not (Test-Path env:BOOST_ROOT)) {
|
||||||
$env:BOOST_ROOT = "c:\local\boost_1_82_0-Win${env:BITS}"
|
$env:BOOST_ROOT = "c:\local\boost_1_82_0-Win${env:BITS}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user