Fixed: #1465 Added debugging flag to NL_DEBUG_CFLAGS.

This commit is contained in:
sfb 2012-05-04 08:58:52 -05:00
parent 7abfe97f3e
commit 6b4186eaed

View file

@ -519,7 +519,7 @@ MACRO(NL_SETUP_BUILD)
ENDIF(NOT ${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang")
ENDIF(WITH_SYMBOLS)
SET(NL_DEBUG_CFLAGS "-DNL_DEBUG -D_DEBUG ${NL_DEBUG_CFLAGS}")
SET(NL_DEBUG_CFLAGS "-g -DNL_DEBUG -D_DEBUG ${NL_DEBUG_CFLAGS}")
SET(NL_RELEASE_CFLAGS "-DNL_RELEASE -DNDEBUG -O3 ${NL_RELEASE_CFLAGS}")
ENDIF(MSVC)
ENDMACRO(NL_SETUP_BUILD)