diff --git a/src/classes/CMakeLists.txt b/src/classes/CMakeLists.txt index 55832349..ad287bae 100644 --- a/src/classes/CMakeLists.txt +++ b/src/classes/CMakeLists.txt @@ -161,6 +161,11 @@ target_include_directories( PRgeHandler BEFORE PRIVATE $ ) +#--- add ROOT Version >= 6.24 compile options if needed ----------------------- +if (ROOT_GRTEQ_24) + target_compile_options(PMusr BEFORE PRIVATE "-DROOT_GRTEQ_24") +endif(ROOT_GRTEQ_24) + #--- add OpenMP compile options if needed ------------------------------------- if (OpenMP_FOUND) target_compile_options(PMusr PUBLIC ${OpenMP_CXX_FLAGS})