Skip to content

Commit

Permalink
Add library dependency needed on macosx12
Browse files Browse the repository at this point in the history
On macosx12 the dynamic linker at runtime needs the additional library,
otherwise macros using libgeant321 will crash.
  • Loading branch information
fuhlig1 authored and dennisklein committed Dec 17, 2021
1 parent d668c54 commit 42a8ef6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/modules/FindROOT.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ If(ROOT_FOUND)
Include(ROOTMacros)

# Aliases for imported VMC packages ROOT dependencies
foreach(_root_dep VMC Core RIO Tree Rint Physics MathCore Thread Geom EG)
foreach(_root_dep VMC Core RIO Tree Rint Physics MathCore Thread Geom EG EGPythia6)
find_library(${_root_dep}_LIB ${_root_dep} PATHS ${ROOT_LIBRARY_DIR})
if(${_root_dep}_LIB)
add_library(${_root_dep} SHARED IMPORTED GLOBAL)
Expand Down

0 comments on commit 42a8ef6

Please sign in to comment.