Modify debug flag
This commit is contained in:
parent
bd46483efa
commit
da60faca1d
@ -38,7 +38,8 @@ set(VERSION ${BUILD_VERSION})
|
||||
if(NOT DEFINED CMAKE_BUILD_TYPE)
|
||||
set(CMAKE_BUILD_TYPE "Release")
|
||||
endif(NOT DEFINED CMAKE_BUILD_TYPE)
|
||||
if("Debug" STREQUAL CMAKE_BUILD_TYPE)
|
||||
string(TOLOWER "${CMAKE_BUILD_TYPE}" build_type)
|
||||
if("debug" STREQUAL build_type)
|
||||
add_definitions(-D_DEBUG)
|
||||
endif()
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user