Skip to content

Commit

Permalink
Making VecGeom navigation mode more verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
agheata committed Sep 3, 2024
1 parent 5303135 commit ce5aeaf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -92,16 +92,18 @@ endif()
if(ADEPT_USE_SURF)
if(VecGeom_SURF_FOUND)
if (ADEPT_USE_SURF_SINGLE)
message(STATUS "${Green}Surface model in VecGeom uses single precision${ColorReset}")
message(STATUS "${Green}Using the surface model in VecGeom in single precision${ColorReset}")
add_compile_definitions(ADEPT_USE_SURF_SINGLE)
else()
message(STATUS "${Green}Surface model in VecGeom uses double precision${ColorReset}")
message(STATUS "${Green}Using the surface model in VecGeom in double precision${ColorReset}")
endif()
add_compile_definitions(ADEPT_USE_SURF)
else()
message(STATUS "${Magenta}No VecGeom surface support. Forcing ADEPT_USE_SURF to OFF${ColorReset}")
set(ADEPT_USE_SURF OFF CACHE BOOL "Disable using the surface model" FORCE)
endif()
else()
message(STATUS "${Green}Using the solid model in VecGeom${ColorReset}")
endif()

# Find Geant4, optional for now
Expand Down

0 comments on commit ce5aeaf

Please sign in to comment.