From 2351c1948916eee88776e87ff502e41403a546ee Mon Sep 17 00:00:00 2001 From: Juan Miguel Carceller <22276694+jmcarcell@users.noreply.github.com> Date: Mon, 15 Apr 2024 18:49:51 +0200 Subject: glew: remove a few unused options (#43399) Co-authored-by: jmcarcell --- var/spack/repos/builtin/packages/glew/package.py | 3 --- 1 file changed, 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( -- cgit v1.2.3-70-g09d2