diff --git a/spack.yaml b/spack.yaml
index f4541ec35372dc117ca2f560849dc42149e967f8..1c355317cadbd01b892b66c5d58d28157a84b462 100644
--- a/spack.yaml
+++ b/spack.yaml
@@ -22,7 +22,7 @@ spack:
     - fjcontrib@1.045
     - fmt@8.1.1 +shared cxxstd=17
     - gaudi@36.7 +aida
-    - geant4@11.1.1 cxxstd=17 +opengl +vecgeom +x11 +qt +threads
+    - geant4@11.1.1 cxxstd=17 +opengl -vecgeom +x11 +qt +threads
     - hepmc3@3.2.5 +python +rootio
     - heppdt@2.06.01
     - imagemagick@7.0.8-7