Skip to content

Commit

Permalink
fixup! Break testing CMakeLists into libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
sethrj committed Feb 7, 2024
1 parent e529fde commit f62043e
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions test/geocel/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ else()
set(_needs_geant4 LINK_LIBRARIES ${Geant4_LIBRARIES})
endif()

if(CELERITAS_UNITS STREQUAL "CGS")
set(_fixme_cgs)
else()
# Unit tests haven't yet been updated to include the correct units
set(_fixme_cgs DISABLE)
endif()

#-----------------------------------------------------------------------------#
# LIBRARY
#-----------------------------------------------------------------------------#
Expand Down Expand Up @@ -90,8 +97,8 @@ if(CELERITAS_USE_VecGeom)
endif()
celeritas_add_device_test(vg/Vecgeom
LINK_LIBRARIES VecGeom::vecgeom
FILTER
${_vecgeom_tests}
FILTER ${_vecgeom_tests}
${_fixme_cgs}
)
endif()

Expand Down

0 comments on commit f62043e

Please sign in to comment.