aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@openbsd.org>2024-10-02 05:19:48 +0200
committerTheo Buehler <tb@openbsd.org>2024-10-02 05:19:48 +0200
commit92528bdef2c25ea8538fa769bf0df1de7b7899ff (patch)
treebd60fd521f592490dd7408d61cdd1dff3a20509f
parentc169d7e61e39cfdb836e1b0af3618af514defec5 (diff)
parent6a20a5841cb70424c2ebfa936047ef6ea3567b52 (diff)
downloadportable-92528bdef2c25ea8538fa769bf0df1de7b7899ff.tar.gz
portable-92528bdef2c25ea8538fa769bf0df1de7b7899ff.tar.bz2
portable-92528bdef2c25ea8538fa769bf0df1de7b7899ff.zip
Land #1100 - mop up dll name breakage
-rw-r--r--CMakeLists.txt2
-rw-r--r--crypto/CMakeLists.txt4
-rw-r--r--ssl/CMakeLists.txt4
-rw-r--r--tls/CMakeLists.txt4
4 files changed, 10 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4f05c3b..62caadc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
1cmake_minimum_required (VERSION 3.27) 1cmake_minimum_required (VERSION 3.16.4)
2if(MSVC) 2if(MSVC)
3 cmake_policy(SET CMP0091 NEW) 3 cmake_policy(SET CMP0091 NEW)
4endif() 4endif()
diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt
index c4f1af5..59939cb 100644
--- a/crypto/CMakeLists.txt
+++ b/crypto/CMakeLists.txt
@@ -850,7 +850,9 @@ set_target_properties(crypto PROPERTIES
850 EXPORT_NAME Crypto 850 EXPORT_NAME Crypto
851 VERSION ${CRYPTO_VERSION} 851 VERSION ${CRYPTO_VERSION}
852 SOVERSION ${CRYPTO_MAJOR_VERSION} 852 SOVERSION ${CRYPTO_MAJOR_VERSION}
853 DLL_NAME_WITH_SOVERSION TRUE 853 if(NOT CMAKE_VERSION VERSION_LESS 3.27.0)
854 DLL_NAME_WITH_SOVERSION TRUE
855 endif()
854) 856)
855 857
856target_include_directories( 858target_include_directories(
diff --git a/ssl/CMakeLists.txt b/ssl/CMakeLists.txt
index 414fe07..f5288a9 100644
--- a/ssl/CMakeLists.txt
+++ b/ssl/CMakeLists.txt
@@ -92,7 +92,9 @@ set_target_properties(ssl PROPERTIES
92 EXPORT_NAME SSL 92 EXPORT_NAME SSL
93 VERSION ${SSL_VERSION} 93 VERSION ${SSL_VERSION}
94 SOVERSION ${SSL_MAJOR_VERSION} 94 SOVERSION ${SSL_MAJOR_VERSION}
95 DLL_NAME_WITH_SOVERSION TRUE 95 if(NOT CMAKE_VERSION VERSION_LESS 3.27.0)
96 DLL_NAME_WITH_SOVERSION TRUE
97 endif()
96) 98)
97 99
98target_include_directories( 100target_include_directories(
diff --git a/tls/CMakeLists.txt b/tls/CMakeLists.txt
index e584dcb..406fe12 100644
--- a/tls/CMakeLists.txt
+++ b/tls/CMakeLists.txt
@@ -64,7 +64,9 @@ set_target_properties(tls PROPERTIES
64 EXPORT_NAME TLS 64 EXPORT_NAME TLS
65 VERSION ${TLS_VERSION} 65 VERSION ${TLS_VERSION}
66 SOVERSION ${TLS_MAJOR_VERSION} 66 SOVERSION ${TLS_MAJOR_VERSION}
67 DLL_NAME_WITH_SOVERSION TRUE 67 if(NOT CMAKE_VERSION VERSION_LESS 3.27.0)
68 DLL_NAME_WITH_SOVERSION TRUE
69 endif()
68) 70)
69 71
70target_include_directories( 72target_include_directories(