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 --- tls/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tls') 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 EXPORT_NAME TLS VERSION ${TLS_VERSION} SOVERSION ${TLS_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(tls PROPERTIES DLL_NAME_WITH_SOVERSION TRUE) +endif() target_include_directories( tls -- cgit v1.2.3-55-g6feb