Skip to content
Permalink
Browse files

Fixed accidental compiler flags concatenation for MSVC.

  • Loading branch information
lazyhamster committed Oct 18, 2017
1 parent aaa0b85 commit 93821165bef6591fc0499d8678750035f0797948
Showing with 1 addition and 1 deletion.
  1. +1 −1 CMakeLists.txt
@@ -106,7 +106,7 @@ endif()
foreach(_build_type "Release" "MinSizeRel" "RelWithDebInfo")
foreach(_lang C CXX)
string(TOUPPER "CMAKE_${_lang}_FLAGS_${_build_type}" _var)
string(REGEX REPLACE "(^| )[/-]D *NDEBUG($| )" "" ${_var} "${${_var}}")
string(REGEX REPLACE "(^| )[/-]D *NDEBUG($| )" " " ${_var} "${${_var}}")
endforeach()
endforeach()

0 comments on commit 9382116

Please sign in to comment.
You can’t perform that action at this time.