Restore CMake build with OPTION_USE_GL=0

This commit is contained in:
ManoloFLTK 2022-03-22 22:16:03 +01:00
parent da5efb95d5
commit 52015f2a26
1 changed files with 3 additions and 0 deletions

View File

@ -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)