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:
Rafael Kitover 2016-10-24 13:12:40 -07:00
parent 91a9b75d40
commit 2b45cc7662
1 changed files with 1 additions and 1 deletions

View File

@ -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