We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18956c6 commit 6233f99Copy full SHA for 6233f99
CMakeLists.txt
@@ -135,7 +135,7 @@ else()
135
endif()
136
137
# Turn on assertions in the RelWithDebInfo build type.
138
-foreach(NDEBUG_FLAG_STR IN ITEMS "/D NDEBUG" "-DNDEBUG")
+foreach(NDEBUG_FLAG_STR IN ITEMS "/DNDEBUG" "/D NDEBUG" "-DNDEBUG")
139
string(REPLACE "${NDEBUG_FLAG_STR}" "" CMAKE_CXX_FLAGS_RELWITHDEBINFO
140
"${CMAKE_CXX_FLAGS_RELWITHDEBINFO}")
141
# TODO: this should not be necessary.
0 commit comments