From 8cb8c3839192056244cfb8bf782b59c014b8b310 Mon Sep 17 00:00:00 2001 From: Gloria Corti <gloria.corti@cern.ch> Date: Tue, 21 Jan 2020 14:04:29 +0000 Subject: [PATCH] Make a new variable for Geant4Files Enable to set and override version of Geant4Files package to be used in nightly builds --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 779d1eb7d1..90cc248edb 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 "") -- GitLab