We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40e1e58 commit 53e8e56Copy full SHA for 53e8e56
1 file changed
CMakeLists.txt
@@ -77,7 +77,7 @@ set(SYMBOLPREFIX "" CACHE STRING "Add a prefix to all exported symbol names in
77
78
set(SYMBOLSUFFIX "" CACHE STRING "Add a suffix to all exported symbol names in the shared library, e.g. _64 for INTERFACE64 builds" )
79
80
-if (CMAKE_SYSTEM_NAME MATCHES "Windows" AND BUILD_SHARED_LIBS AND NOT (${SYMBOLPREFIX}${SYMBOLSUFFIX} STREQUAL ""))
+if (CMAKE_SYSTEM_NAME MATCHES "Windows" AND BUILD_SHARED_LIBS AND NOT ("${SYMBOLPREFIX}${SYMBOLSUFFIX}" STREQUAL ""))
81
if (NOT BUILD_STATIC_LIBS)
82
message (STATUS "forcing build of a temporary static library for symbol renaming")
83
set (BUILD_SHARED_LIBS OFF CACHE BOOL "Build shared library" FORCE)
0 commit comments