Skip to content
Snippets Groups Projects
Commit 7cdf9906 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

make sure we have GLU

parent 940241bd
No related branches found
No related tags found
No related merge requests found
...@@ -390,6 +390,9 @@ if(HAVE_FLTK OR HAVE_QT OR ENABLE_GRAPHICS) ...@@ -390,6 +390,9 @@ if(HAVE_FLTK OR HAVE_QT OR ENABLE_GRAPHICS)
endif(NOT FLTK_PNG) endif(NOT FLTK_PNG)
endif(HAVE_LIBZ) endif(HAVE_LIBZ)
find_package(OpenGL REQUIRED) find_package(OpenGL REQUIRED)
if(NOT OPENGL_GLU_FOUND)
message(SEND_ERROR "Could not find GLU")
endif(NOT OPENGL_GLU_FOUND)
add_subdirectory(Graphics) add_subdirectory(Graphics)
set(HAVE_OPENGL TRUE) set(HAVE_OPENGL TRUE)
list(APPEND CONFIG_OPTIONS "OpenGL") list(APPEND CONFIG_OPTIONS "OpenGL")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment