Skip to content

Commit 6233f99

Browse files
committed
Remove the /DNDEBUG substring
1 parent 18956c6 commit 6233f99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ else()
135135
endif()
136136

137137
# Turn on assertions in the RelWithDebInfo build type.
138-
foreach(NDEBUG_FLAG_STR IN ITEMS "/D NDEBUG" "-DNDEBUG")
138+
foreach(NDEBUG_FLAG_STR IN ITEMS "/DNDEBUG" "/D NDEBUG" "-DNDEBUG")
139139
string(REPLACE "${NDEBUG_FLAG_STR}" "" CMAKE_CXX_FLAGS_RELWITHDEBINFO
140140
"${CMAKE_CXX_FLAGS_RELWITHDEBINFO}")
141141
# TODO: this should not be necessary.

0 commit comments

Comments
 (0)