Skip to content

Commit 53e8e56

Browse files
authored
Fix missing quotes around variables that might be empty
1 parent 40e1e58 commit 53e8e56

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ set(SYMBOLPREFIX "" CACHE STRING "Add a prefix to all exported symbol names in
7777

7878
set(SYMBOLSUFFIX "" CACHE STRING "Add a suffix to all exported symbol names in the shared library, e.g. _64 for INTERFACE64 builds" )
7979

80-
if (CMAKE_SYSTEM_NAME MATCHES "Windows" AND BUILD_SHARED_LIBS AND NOT (${SYMBOLPREFIX}${SYMBOLSUFFIX} STREQUAL ""))
80+
if (CMAKE_SYSTEM_NAME MATCHES "Windows" AND BUILD_SHARED_LIBS AND NOT ("${SYMBOLPREFIX}${SYMBOLSUFFIX}" STREQUAL ""))
8181
if (NOT BUILD_STATIC_LIBS)
8282
message (STATUS "forcing build of a temporary static library for symbol renaming")
8383
set (BUILD_SHARED_LIBS OFF CACHE BOOL "Build shared library" FORCE)

0 commit comments

Comments
 (0)