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 | |
| 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
| -rw-r--r-- | crypto/CMakeLists.txt | 6 | ||||
| -rw-r--r-- | ssl/CMakeLists.txt | 6 | ||||
| -rw-r--r-- | tls/CMakeLists.txt | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt index 59939cb..03d3c24 100644 --- a/crypto/CMakeLists.txt +++ b/crypto/CMakeLists.txt | |||
| @@ -850,10 +850,10 @@ 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 | if(NOT CMAKE_VERSION VERSION_LESS 3.27.0) | ||
| 854 | DLL_NAME_WITH_SOVERSION TRUE | ||
| 855 | endif() | ||
| 856 | ) | 853 | ) |
| 854 | if(NOT CMAKE_VERSION VERSION_LESS 3.27.0) | ||
| 855 | set_target_properties(crypto PROPERTIES DLL_NAME_WITH_SOVERSION TRUE) | ||
| 856 | endif() | ||
| 857 | 857 | ||
| 858 | target_include_directories( | 858 | target_include_directories( |
| 859 | crypto | 859 | crypto |
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 |
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 |
