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 9aea03f224
commit 8b65b46546

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"