fix typo in CMakeLists.txt from 7a7a72f
Fix typo in the default cpp flag when CMAKE_BUILD_TYPE is "Release" from `-NDEBUG` to `-DNDEBUG`.
This commit is contained in:
parent
91a9b75d40
commit
2b45cc7662
|
@ -62,7 +62,7 @@ ENDIF( NOT VERSION )
|
|||
IF(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
ADD_DEFINITIONS(-DDEBUG)
|
||||
ELSE()
|
||||
ADD_DEFINITIONS(-NDEBUG)
|
||||
ADD_DEFINITIONS(-DNDEBUG)
|
||||
ENDIF()
|
||||
|
||||
# Fill in SDLMAIN_LIBRARY on OS X manually to avoid using SDLMain.m
|
||||
|
|
Loading…
Reference in New Issue