aboutsummaryrefslogtreecommitdiff
path: root/crypto
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 /crypto
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 'crypto')
-rw-r--r--crypto/CMakeLists.txt6
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)
854if(NOT CMAKE_VERSION VERSION_LESS 3.27.0)
855 set_target_properties(crypto PROPERTIES DLL_NAME_WITH_SOVERSION TRUE)
856endif()
857 857
858target_include_directories( 858target_include_directories(
859 crypto 859 crypto