From 2b45cc766201b9da6cc6d5c76f357932bcf2aa97 Mon Sep 17 00:00:00 2001 From: Rafael Kitover Date: Mon, 24 Oct 2016 13:12:40 -0700 Subject: [PATCH] fix typo in CMakeLists.txt from 7a7a72f Fix typo in the default cpp flag when CMAKE_BUILD_TYPE is "Release" from `-NDEBUG` to `-DNDEBUG`. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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