mirror of
https://github.com/nghttp2/nghttp2.git
synced 2025-12-08 02:58:53 +08:00
Fixed accidental compiler flags concatenation for MSVC.
This commit is contained in:
@@ -106,7 +106,7 @@ endif()
|
|||||||
foreach(_build_type "Release" "MinSizeRel" "RelWithDebInfo")
|
foreach(_build_type "Release" "MinSizeRel" "RelWithDebInfo")
|
||||||
foreach(_lang C CXX)
|
foreach(_lang C CXX)
|
||||||
string(TOUPPER "CMAKE_${_lang}_FLAGS_${_build_type}" _var)
|
string(TOUPPER "CMAKE_${_lang}_FLAGS_${_build_type}" _var)
|
||||||
string(REGEX REPLACE "(^| )[/-]D *NDEBUG($| )" "" ${_var} "${${_var}}")
|
string(REGEX REPLACE "(^| )[/-]D *NDEBUG($| )" " " ${_var} "${${_var}}")
|
||||||
endforeach()
|
endforeach()
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user