added DEBUG declaration for BUILDTYPE=DEBUG

This commit is contained in:
Zhuowen Zhao 2017-09-29 18:30:53 -04:00
parent fe4952b100
commit ca99734cd4
1 changed files with 1 additions and 0 deletions

View File

@ -124,6 +124,7 @@ endif ()
# Predefined sets for OPTIMIZATION/OPENMP based on BUILD_TYPE
if ("${CMAKE_BUILD_TYPE}" STREQUAL "DEBUG" OR "${CMAKE_BUILD_TYPE}" STREQUAL "SYNTAXONLY" )
set (DEBUG_FLAGS "${DEBUG_FLAGS} -DDEBUG")
set (PARALLEL "OFF")
set (OPTI "OFF")
elseif ("${CMAKE_BUILD_TYPE}" STREQUAL "RELEASE")