bdsim-collaboration / bdsim

Beam Delivery Simulation
Other
0 stars 8 forks source link

Geant4 Cmake discovery without sourcing geant4.sh #16

Closed stewartboogert closed 6 days ago

stewartboogert commented 1 week ago

Conda does not use geant4.sh and the file is actually empty, which means the files are all relative to the base conda directory.

Could Geant4 be found and the relevant CMake file found just using standard system directories? Like other packages are discovered. This might make the conda build easier

stewartboogert commented 6 days ago

Does not seem to be an issue with CMAKE_PREFIX_PATH pointing correctly to the G4 installation. Closing