Commit 50509e9b authored by Leif Walsh's avatar Leif Walsh

moved to generator expressions for cmake debug flags

parent be910e09
...@@ -23,9 +23,9 @@ if (NOT CMAKE_SYSTEM_NAME STREQUAL FreeBSD) ...@@ -23,9 +23,9 @@ if (NOT CMAKE_SYSTEM_NAME STREQUAL FreeBSD)
endif () endif ()
## add TOKU_PTHREAD_DEBUG for debug builds ## add TOKU_PTHREAD_DEBUG for debug builds
set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS_DEBUG TOKU_PTHREAD_DEBUG=1) set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS
set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS_DRD TOKU_PTHREAD_DEBUG=1) $<$<OR:$<CONFIG:DEBUG>,$<CONFIG:DRD>>:TOKU_PTHREAD_DEBUG=1>
set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS_DRD _FORTIFY_SOURCE=2) $<$<CONFIG:DRD>:_FORTIFY_SOURCE=2>)
## coverage ## coverage
option(USE_GCOV "Use gcov for test coverage." OFF) option(USE_GCOV "Use gcov for test coverage." OFF)
......
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