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 /crypto | |
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 'crypto')
-rw-r--r-- | crypto/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 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 |