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 /tls | |
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 'tls')
-rw-r--r-- | tls/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tls/CMakeLists.txt b/tls/CMakeLists.txt index 406fe12..c81bbb0 100644 --- a/tls/CMakeLists.txt +++ b/tls/CMakeLists.txt | |||
@@ -64,10 +64,10 @@ 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 | if(NOT CMAKE_VERSION VERSION_LESS 3.27.0) | ||
68 | DLL_NAME_WITH_SOVERSION TRUE | ||
69 | endif() | ||
70 | ) | 67 | ) |
68 | if(NOT CMAKE_VERSION VERSION_LESS 3.27.0) | ||
69 | set_target_properties(tls PROPERTIES DLL_NAME_WITH_SOVERSION TRUE) | ||
70 | endif() | ||
71 | 71 | ||
72 | target_include_directories( | 72 | target_include_directories( |
73 | tls | 73 | tls |