summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/ConfigureChecks.cmake
blob: f4fdd1c07bb783ad6571c3360f3f6e014f451751 (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
#################################################
#
#  (C) 2010-2011 Serghei Amelian
#  serghei (DOT) amelian (AT) gmail.com
#
#  Improvements and feedback are welcome
#
#  This file is released under GPL >= 2
#
#################################################

# glu
pkg_search_module( GLU glu )
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" )
  endif ( )
  set( GLU_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( )