aboutsummaryrefslogtreecommitdiff
path: root/ssl
diff options
context:
space:
mode:
authorTheo Buehler <tb@openbsd.org>2024-10-02 13:00:09 +0200
committerTheo Buehler <tb@openbsd.org>2024-10-02 13:00:09 +0200
commit47681bf795e5cc71dd6024429d78c1b687ac45a3 (patch)
treed53139f1eeabb52d1136c1e50eec566042e5ee1a /ssl
parent8bc62b897aaa307cb99e8f1c6225afbfb4b34b16 (diff)
downloadportable-47681bf795e5cc71dd6024429d78c1b687ac45a3.tar.gz
portable-47681bf795e5cc71dd6024429d78c1b687ac45a3.tar.bz2
portable-47681bf795e5cc71dd6024429d78c1b687ac45a3.zip
Pull if() statement out of argument list
Pointed out by @vszakats in #1100
Diffstat (limited to 'ssl')
-rw-r--r--ssl/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/ssl/CMakeLists.txt b/ssl/CMakeLists.txt
index f5288a9..cf62ff4 100644
--- a/ssl/CMakeLists.txt
+++ b/ssl/CMakeLists.txt
@@ -92,10 +92,10 @@ 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 if(NOT CMAKE_VERSION VERSION_LESS 3.27.0)
96 DLL_NAME_WITH_SOVERSION TRUE
97 endif()
98) 95)
96if(NOT CMAKE_VERSION VERSION_LESS 3.27.0)
97 set_target_properties(ssl PROPERTIES DLL_NAME_WITH_SOVERSION TRUE)
98endif()
99 99
100target_include_directories( 100target_include_directories(
101 ssl 101 ssl