Skip to content
Snippets Groups Projects
Commit d16949d9 authored by Markus FRANK's avatar Markus FRANK Committed by MarkusFrankATcernch
Browse files

Fix to propagate definitions properly to depending compilation units

parent ac01322a
No related branches found
No related tags found
No related merge requests found
......@@ -209,6 +209,9 @@ ELSE()
IF(DD4HEP_BUILD_DEBUG MATCHES "ON" OR (CMAKE_BUILD_TYPE MATCHES "DEBUG|Debug" AND NOT DD4HEP_BUILD_DEBUG MATCHES "OFF"))
message(STATUS "BUILD DD4HEP and depending software with debug extensions")
target_compile_definitions(DDCore PUBLIC DD4HEP_DEBUG=1)
set(DD4HEP_BUILD_DEBUG ON)
ELSE()
set(DD4HEP_BUILD_DEBUG OFF)
ENDIF()
message(STATUS "BUILD Packages: ${DD4HEP_BUILD_PACKAGES}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment