blob: a55045d4e113376dc40f244d22f62ced9cc32b7f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#################################################
#
# (C) 2010-2011 Serghei Amelian
# serghei (DOT) amelian (AT) gmail.com
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################
# glu
set( OpenGL_GL_PREFERENCE LEGACY )
find_package( OpenGL )
if( NOT OPENGL_FOUND )
check_include_file ( GL/glu.h HAVE_GLU )
if( NOT HAVE_GLU )
tde_message_fatal( "OpenGL (glu) is required, but was not found on your system" )
endif ( )
set( OPENGL_LIBRARIES "-lGL -lGLU" )
endif( )
# xmu
pkg_search_module( XMU xmu )
if( NOT XMU_FOUND )
tde_message_fatal( "xmu is required, but was not found on your system" )
endif( )
|