diff --git a/CMakeLists.txt b/CMakeLists.txt index 84208222..11a3a122 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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