diff options
author | Theo Buehler <tb@openbsd.org> | 2024-10-02 13:00:09 +0200 |
---|---|---|
committer | Theo Buehler <tb@openbsd.org> | 2024-10-02 13:00:09 +0200 |
commit | 47681bf795e5cc71dd6024429d78c1b687ac45a3 (patch) | |
tree | d53139f1eeabb52d1136c1e50eec566042e5ee1a /ssl | |
parent | 8bc62b897aaa307cb99e8f1c6225afbfb4b34b16 (diff) | |
download | portable-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.txt | 6 |
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 | ) |
96 | if(NOT CMAKE_VERSION VERSION_LESS 3.27.0) | ||
97 | set_target_properties(ssl PROPERTIES DLL_NAME_WITH_SOVERSION TRUE) | ||
98 | endif() | ||
99 | 99 | ||
100 | target_include_directories( | 100 | target_include_directories( |
101 | ssl | 101 | ssl |