typos for Debug mode detection in cmake configuration

parent 5c6abdbe
......@@ -35,7 +35,7 @@ if (MINGW)
set (CMAKE_CXX_FLAGS "-DGUM_NO_INLINE ${CMAKE_CXX_FLAGS}")
endif()
if (CMAKE_BUILD_TYPE MATCHES "Debug")
if (CMAKE_BUILD_TYPE MATCHES DEBUG)
set (CMAKE_CXX_FLAGS "-DGUM_DEBUG_MODE -DGUM_NO_INLINE ${CMAKE_CXX_FLAGS}")
if (CMAKE_CXX_COMPILER_ID MATCHES "GNU")
set(CMAKE_EXE_LINKER_FLAGS " -ggdb ${CMAKE_EXE_LINKER_FLAGS}") # add -pg for profiling
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment