Fix CMake string comparison issue

Fixes #1187
This commit is contained in:
Vojtech Kral 2018-09-04 10:40:28 +02:00 committed by bubnikv
parent 646e991d4b
commit a8c28e210d

View File

@ -503,7 +503,7 @@ if (WIN32)
endif ()
# SLIC3R_MSVC_PDB
if (MSVC AND SLIC3R_MSVC_PDB AND ${CMAKE_BUILD_TYPE} STREQUAL "Release")
if (MSVC AND SLIC3R_MSVC_PDB AND "${CMAKE_BUILD_TYPE}" STREQUAL "Release")
set_target_properties(XS PROPERTIES
COMPILE_FLAGS "/Zi"
LINK_FLAGS "/DEBUG /OPT:REF /OPT:ICF"