summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorWouter Deconinck <wdconinc@gmail.com>2020-06-29 01:09:29 -0500
committerGitHub <noreply@github.com>2020-06-29 08:09:29 +0200
commit4ea4c2e63f7417fbcf2596ef69624b1eed1685ca (patch)
treef16d7d80c3ca7a1b7028320bb4b344b71ac22c43 /var
parent4425e837501df1c640a173f70c83327d76d64d6b (diff)
downloadspack-4ea4c2e63f7417fbcf2596ef69624b1eed1685ca.tar.gz
spack-4ea4c2e63f7417fbcf2596ef69624b1eed1685ca.tar.bz2
spack-4ea4c2e63f7417fbcf2596ef69624b1eed1685ca.tar.xz
spack-4ea4c2e63f7417fbcf2596ef69624b1eed1685ca.zip
geant4: depends on "qt@5: +opengl" when +qt (#17264)
The Geant4 cmake check requires Qt5OpenGL_FOUND, so we must require the Qt5 +opengl variant. If not, the cmake phase fall through to Qt4 and fails due to a missing Qt4::QtGui target. In Geant4InterfaceOptions.cmake: ``` if(Qt5Core_FOUND AND Qt5Gui_FOUND AND Qt5Widgets_FOUND AND Qt5OpenGL_FOUND AND Qt5PrintSupport_FOUND) ``` Ref: https://github.com/Geant4/geant4/blob/master/cmake/Modules/Geant4InterfaceOptions.cmake#L90 (5baee230e93612916bcea11ebf822756cfa7282c, Import Geant4 10.6.0 source tree)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/geant4/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/geant4/package.py b/var/spack/repos/builtin/packages/geant4/package.py
index b559557340..7c12a9f26e 100644
--- a/var/spack/repos/builtin/packages/geant4/package.py
+++ b/var/spack/repos/builtin/packages/geant4/package.py
@@ -88,7 +88,7 @@ class Geant4(CMakePackage):
depends_on("libx11", when='+x11')
depends_on("libxmu", when='+x11')
depends_on("motif", when='+motif')
- depends_on("qt@5:", when="+qt")
+ depends_on("qt@5: +opengl", when="+qt")
# As released, 10.03.03 has issues with respect to using external
# CLHEP.