diff options
author | Juan Miguel Carceller <22276694+jmcarcell@users.noreply.github.com> | 2024-04-15 18:49:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-15 18:49:51 +0200 |
commit | 2351c1948916eee88776e87ff502e41403a546ee (patch) | |
tree | a98c5f11daeee4a98c2e0679a0bf16f326b6d392 | |
parent | 08d49361f06bf5c36e13083d5f9213bd943537b4 (diff) | |
download | spack-2351c1948916eee88776e87ff502e41403a546ee.tar.gz spack-2351c1948916eee88776e87ff502e41403a546ee.tar.bz2 spack-2351c1948916eee88776e87ff502e41403a546ee.tar.xz spack-2351c1948916eee88776e87ff502e41403a546ee.zip |
glew: remove a few unused options (#43399)
Co-authored-by: jmcarcell <jmcarcell@users.noreply.github.com>
-rw-r--r-- | var/spack/repos/builtin/packages/glew/package.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/glew/package.py b/var/spack/repos/builtin/packages/glew/package.py index 22ec0dbb68..7004b9b298 100644 --- a/var/spack/repos/builtin/packages/glew/package.py +++ b/var/spack/repos/builtin/packages/glew/package.py @@ -57,15 +57,12 @@ class Glew(CMakePackage): self.define("BUILD_UTILS", True), self.define("GLEW_REGAL", False), self.define("GLEW_EGL", "gl=egl" in spec), - self.define("OpenGL_GL_PREFERENCE", "LEGACY"), self.define("OPENGL_INCLUDE_DIR", spec["gl"].headers.directories[0]), self.define("OPENGL_gl_LIBRARY", spec["gl"].libs[0]), self.define("OPENGL_opengl_LIBRARY", "IGNORE"), self.define("OPENGL_glx_LIBRARY", "IGNORE"), self.define("OPENGL_glu_LIBRARY", "IGNORE"), self.define("GLEW_OSMESA", "gl=osmesa" in spec), - self.define("GLEW_X11", "gl=glx" in spec), - self.define("CMAKE_DISABLE_FIND_PACKAGE_X11", "gl=glx" not in spec), ] if "gl=egl" in spec: args.append( |