summaryrefslogtreecommitdiffstats
path: root/kpovmodeler
diff options
context:
space:
mode:
Diffstat (limited to 'kpovmodeler')
-rw-r--r--kpovmodeler/ConfigureChecks.cmake6
1 files changed, 5 insertions, 1 deletions
diff --git a/kpovmodeler/ConfigureChecks.cmake b/kpovmodeler/ConfigureChecks.cmake
index 3b325475..f4fdd1c0 100644
--- a/kpovmodeler/ConfigureChecks.cmake
+++ b/kpovmodeler/ConfigureChecks.cmake
@@ -12,7 +12,11 @@
# glu
pkg_search_module( GLU glu )
if( NOT GLU_FOUND )
- tde_message_fatal( "glu is required, but was not found on your system" )
+ check_include_file ( GL/glu.h HAVE_GLU )
+ if( NOT HAVE_GLU )
+ tde_message_fatal( "glu is required, but was not found on your system" )
+ endif ( )
+ set( GLU_LIBRARIES "-lGL -lGLU" )
endif( )