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