diff --git a/CMakeLists.txt b/CMakeLists.txt index 779d1eb7d1081cef93d1a3903201080b9cd0424e..90cc248edb5a1a7ac7467a2b39711474f73bafe7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,10 +3,11 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.5) # NO_NINJA : Geant4 build fails with Ninja set(GEANT4_SRCS_REPOSITORY https://gitlab.cern.ch/lhcb/Geant4-srcs.git CACHE STRING "Repository for Geant4 sources") +set(GEANT4FILES_VERSION v106r0 CACHE STRING "Version for Geant4Files to match Geant4-src version") find_package(GaudiProject) gaudi_project(Geant4 v106r0 - DATA Geant4Files VERSION v106r0) + DATA Geant4Files VERSION ${GEANT4FILES_VERSION}) # FIXME: hack for compatibility with CMT build file(WRITE ${CMAKE_BINARY_DIR}/dummy.cpp "")