File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed
Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11
22add_definitions (
33 -DWIN32
4- -DNDEBUG
4+ -DNDEBUG=
55 -D_WINDOWS
66 -DPNG_BUILD_DLL)
77
Original file line number Diff line number Diff line change 11
22add_definitions (
33 -DWIN32
4- -DNDEBUG
4+ -DNDEBUG=
55 -DUSE_WIN32_FILEIO
66 -DTIF_PLATFORM_CONSOLE)
77
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ include_directories(BEFORE
88
99add_definitions (
1010 -DBUILD_GLU32
11- -DNDEBUG
11+ -DNDEBUG=
1212 -DLIBRARYBUILD
1313 -DRESOLVE_3D_TEXTURE_SUPPORT)
1414
Original file line number Diff line number Diff line change 11foreach (lang C CXX ASM)
22 set (CMAKE_${lang} _FLAGS_DEBUG "" )
3- set (CMAKE_${lang} _FLAGS_MINSIZEREL "-Os -DNDEBUG" )
3+ set (CMAKE_${lang} _FLAGS_MINSIZEREL "-Os -DNDEBUG= " )
44 set (CMAKE_${lang} _FLAGS_RELEASE "" )
5- set (CMAKE_${lang} _FLAGS_RELWITHDEBINFO "-O2 -g -DNDEBUG" )
5+ set (CMAKE_${lang} _FLAGS_RELWITHDEBINFO "-O2 -g -DNDEBUG= " )
66 set (CMAKE_${lang} _IMPLICIT_LINK_LIBRARIES "" )
77 set (CMAKE_${lang} _IMPLICIT_LINK_DIRECTORIES "" )
88endforeach ()
Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ endif()
141141# Optimizations
142142# FIXME: Revisit this to see if we even need these levels
143143if (CMAKE_BUILD_TYPE STREQUAL "Release" )
144- add_compile_options (-O2 -DNDEBUG)
144+ add_compile_options (-O2 -DNDEBUG= )
145145else ()
146146 if (OPTIMIZE STREQUAL "1" )
147147 add_compile_options (-Os)
You can’t perform that action at this time.
0 commit comments