Fix GLU detection on old distros (no pkgconfig file)

Thanks to Francois Andriot for the patch!
pull/1/head
Slávek Banko 13 years ago
parent bc0284089b
commit 2e575fef2b

@ -12,8 +12,12 @@
# glu # glu
pkg_search_module( GLU glu ) pkg_search_module( GLU glu )
if( NOT GLU_FOUND ) if( NOT GLU_FOUND )
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" ) tde_message_fatal( "glu is required, but was not found on your system" )
endif ( ) endif ( )
set( GLU_LIBRARIES "-lGL -lGLU" )
endif( )
# xmu # xmu

Loading…
Cancel
Save