summaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-03-22 22:16:03 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-03-22 22:16:03 +0100
commit52015f2a261eb7b5a623bf66a2ee4d507e0d6b8a (patch)
treefbfe8716c6a6e9e35eca4d36ac4096a7f8172e23 /CMake
parentda5efb95d55bebd21b1d21ecfa94f04e14d7c9ec (diff)
Restore CMake build with OPTION_USE_GL=0
Diffstat (limited to 'CMake')
-rw-r--r--CMake/options.cmake3
1 files changed, 3 insertions, 0 deletions
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)