From d0333d25abb84400e5003065d28f9c5bac1cbbd8 Mon Sep 17 00:00:00 2001 From: Markus Frank <Markus.Frank@cern.ch> Date: Mon, 9 Jan 2023 17:44:01 +0100 Subject: [PATCH] Fix compile error --- DDDigi/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DDDigi/CMakeLists.txt b/DDDigi/CMakeLists.txt index 7f0e28b15..a6c247bd1 100644 --- a/DDDigi/CMakeLists.txt +++ b/DDDigi/CMakeLists.txt @@ -50,7 +50,7 @@ dd4hep_add_plugin(DDDigiPlugins set(DDDigiIO_USES "DD4hep::DDDigi;DD4hep::DDCore") set(DDDigiIO_SOURCES "io/DigiIO.cpp;io/Digi2ROOT.cpp") set(DDDigiIO_GENERATED) -set(DDDigiIO_DEFINITIONS) +set(DDDigiIO_DEFINITIONS "DD4HEP_BUILD_DDDIGI_IO=1") if(DD4HEP_USE_GEANT4) list(APPEND DDDigiIO_DEFINITIONS "DD4HEP_USE_DDG4=1") dd4hep_add_dictionary(G__DDDigi_DDG4_IO -- GitLab