Skip to content

Commit 0820860

Browse files
ChristianTackeGSIkarabowi
authored andcommitted
build: MCConfigurator needs FairRoot::FastSim
So only build it, if FairRoot::FastSim is available.
1 parent c9341d1 commit 0820860

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

fairroot/CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
################################################################################
2-
# Copyright (C) 2023 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH #
2+
# Copyright (C) 2023-2024 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH #
33
# #
44
# This software is distributed under the terms of the #
55
# GNU Lesser General Public Licence (LGPL) version 3, #
@@ -40,7 +40,8 @@ else()
4040
message(STATUS "eventdisplay will not be built, because ROOT has no opengl support.")
4141
endif()
4242

43-
if(Geant3_FOUND AND Geant4VMC_FOUND AND yaml-cpp_FOUND)
43+
if(Geant3_FOUND AND Geant4VMC_FOUND AND yaml-cpp_FOUND
44+
AND TARGET FairRoot::FastSim)
4445
add_subdirectory(mcconfigurator)
4546
endif()
4647

0 commit comments

Comments
 (0)