Skip to content

Commit

Permalink
find path for geant4 11+
Browse files Browse the repository at this point in the history
  • Loading branch information
ahnaf-tahmid-chowdhury committed Nov 30, 2023
1 parent c0fc92c commit fa54fff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/FindGeant4.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ set(Geant4_SEARCH_DIRS)

file(GLOB Geant4_SEARCH_DIRS "${GEANT4_DIR}/lib*/Geant4*")
string(REPLACE "\n" ";" Geant4_SEARCH_DIRS ${Geant4_SEARCH_DIRS})
list(APPEND Geant4_SEARCH_DIRS "${GEANT4_DIR}/lib/cmake/Geant4")

find_path(Geant4_CMAKE_CONFIG
NAMES Geant4Config.cmake
Expand Down

0 comments on commit fa54fff

Please sign in to comment.