diff --git a/CMakeLists.txt b/CMakeLists.txt index 8d1bd7477048b24803fa0b28cc5aea0d25610a3b..8d0cd4697ea4a788d08a26493f96947bb612b769 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,6 +18,7 @@ endif() # Find the DD4Hep package with corresponding library find_package(DD4hep 1.21 REQUIRED CONFIG COMPONENTS DDCore DDDetectors) +dd4hep_set_compiler_flags() # Add the main factory add_subdirectory(factory)