From 47681bf795e5cc71dd6024429d78c1b687ac45a3 Mon Sep 17 00:00:00 2001 From: Theo Buehler Date: Wed, 2 Oct 2024 13:00:09 +0200 Subject: Pull if() statement out of argument list Pointed out by @vszakats in #1100 --- ssl/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ssl') 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 EXPORT_NAME SSL VERSION ${SSL_VERSION} SOVERSION ${SSL_MAJOR_VERSION} - if(NOT CMAKE_VERSION VERSION_LESS 3.27.0) - DLL_NAME_WITH_SOVERSION TRUE - endif() ) +if(NOT CMAKE_VERSION VERSION_LESS 3.27.0) + set_target_properties(ssl PROPERTIES DLL_NAME_WITH_SOVERSION TRUE) +endif() target_include_directories( ssl -- cgit v1.2.3-55-g6feb