aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorTheo Buehler <tb@openbsd.org>2024-10-02 04:44:37 +0200
committerTheo Buehler <tb@openbsd.org>2024-10-02 04:44:37 +0200
commit6a20a5841cb70424c2ebfa936047ef6ea3567b52 (patch)
treebd60fd521f592490dd7408d61cdd1dff3a20509f /crypto
parent415eb81ec3e3c2425668db7abde9153228d9f1de (diff)
downloadportable-6a20a5841cb70424c2ebfa936047ef6ea3567b52.tar.gz
portable-6a20a5841cb70424c2ebfa936047ef6ea3567b52.tar.bz2
portable-6a20a5841cb70424c2ebfa936047ef6ea3567b52.zip
Only use DLL_NAME_WITH_SOVERSION for cmake >= 3.27
Suggested by Viktor Szakats in #1084
Diffstat (limited to 'crypto')
-rw-r--r--crypto/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
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(