add Geant namespace

This commit is contained in:
AndreaRigoni
2026-03-14 14:01:44 +00:00
parent e5dfb75262
commit 692cdf7ae3
23 changed files with 76 additions and 26 deletions

View File

@@ -162,7 +162,7 @@ find_package(Qt6 COMPONENTS Widgets REQUIRED)
find_package(Geant4)
if(Geant4_FOUND)
message(STATUS "Geant4 libs: ${Geant4_LIBRARIES}")
add_compile_definitions(HAVE_GEANT)
add_compile_definitions(HAVE_GEANT4)
set(HAVE_GEANT4 1)
# Sanitize Geant4 targets to remove Qt5 dependencies that conflict with VTK/Qt6