fix set_target_properties if property value is an empty string

This commit is contained in:
Gregor Weiss 2024-11-12 23:45:22 +01:00
parent d49754381b
commit 849aa51f7f
Signed by: Gregor Weiss
GPG key ID: 61E170A8BBFE5756

View file

@ -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. #