From 849aa51f7f06a6e96db1917863e894a2640d4f01 Mon Sep 17 00:00:00 2001 From: Gregor Weiss Date: Tue, 12 Nov 2024 23:45:22 +0100 Subject: [PATCH] fix set_target_properties if property value is an empty string --- src/library/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/library/CMakeLists.txt b/src/library/CMakeLists.txt index b07ce5d..26a782d 100755 --- a/src/library/CMakeLists.txt +++ b/src/library/CMakeLists.txt @@ -107,9 +107,9 @@ endif() # Set the Version and SOVersion and define the public API # # for the BigWhoop library. # #----------------------------------------------------------# -set_target_properties(bwclib PROPERTIES VERSION ${BWC_VERSION} - SOVERSION ${BWC_VERSION_MAJOR} - PUBLIC_HEADER ${CMAKE_SOURCE_DIR}/include/library/public/bwc.h) +set_target_properties(bwclib PROPERTIES VERSION "${BWC_VERSION}" + SOVERSION "${BWC_VERSION_MAJOR}" + PUBLIC_HEADER "${CMAKE_SOURCE_DIR}/include/library/public/bwc.h") #----------------------------------------------------------# # Setup up the include directory for the BigWhoop library. #