diff --git a/CMakeLists.txt b/CMakeLists.txt index f36b0dee5beb77d6554e5a3b13847047f18c30d6..c13313c6caa133b40fce035ceb1cefb6a7d91a82 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -103,6 +103,7 @@ if (Boost_FOUND AND TBB_FOUND AND CURL_FOUND AND JSONCPP_FOUND) set_target_properties(${SCDAQ_TARGET} PROPERTIES LINKER_LANGUAGE CXX) target_link_libraries(${SCDAQ_TARGET} PUBLIC ${SCDAQ_LIB}) # Toggle CLI Debug build option + target_compile_definitions(${SCDAQ_TARGET} PUBLIC $<$<CONFIG:Debug>: ${SCDAQ_TARGET}_DEBUG=1 >) else () message("CMake failure: missing components.") endif ()