From 52015f2a261eb7b5a623bf66a2ee4d507e0d6b8a Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Tue, 22 Mar 2022 22:16:03 +0100 Subject: Restore CMake build with OPTION_USE_GL=0 --- CMake/options.cmake | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CMake') diff --git a/CMake/options.cmake b/CMake/options.cmake index 4182ac61d..3dd9a5687 100644 --- a/CMake/options.cmake +++ b/CMake/options.cmake @@ -255,6 +255,9 @@ if (OPTION_USE_GL) endif (OPTION_APPLE_X11) else () set (OPENGL_FOUND FALSE) + set (HAVE_GL FALSE) + set (HAVE_GL_GLU_H FALSE) + set (HAVE_GLXGETPROCADDRESSARB FALSE) endif (OPTION_USE_GL) if (OPENGL_FOUND) -- cgit v1.2.3