From 3700c604dc36869157a8a5adc875c2f758316f33 Mon Sep 17 00:00:00 2001 From: Giulio Eulisse Date: Mon, 16 Nov 2015 14:30:06 +0100 Subject: [PATCH] Do not require Geant4 and Geant3 in modular builds Those can actually be optional components, so I dropped the REQUIRED statement from the CMakeFile also for the modular build case. --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 733f9f0806582..df68e39cf14cc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -112,8 +112,8 @@ find_package(Pythia8) find_package(Pythia6) if(ALICEO2_MODULAR_BUILD) # Geant3, Geant4 installed via cmake - find_package(Geant3 REQUIRED) - find_package(Geant4 REQUIRED) + find_package(Geant3) + find_package(Geant4) else(ALICEO2_MODULAR_BUILD) # For old versions of VMC packages (to be removed) find_package(GEANT3)