Add Debug compile flag if we're building in debug mode.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
95266f71ba
commit
b3c9c95345
@ -42,6 +42,10 @@ if (WINDOWS)
|
||||
add_compile_options(-m64)
|
||||
endif (WINDOWS)
|
||||
|
||||
if (CMAKE_BUILD_TYPE MATCHES "Debug")
|
||||
ADD_DEFINITIONS(-DDEBUG)
|
||||
endif()
|
||||
|
||||
set(LINKS)
|
||||
if (NOT WINDOWS AND PRETTYTRACES)
|
||||
set(LINKS ${LINKS} -ldw)
|
||||
|
Loading…
x
Reference in New Issue
Block a user