blob: df67c2c7e0676087a221c1687a88acdf6ad015b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Try to find mangled Mesa libraries and include dir.
# Once done this will define
#
# MANGLED_MESA_INCLUDE_DIR
# MANGLED_MESA_LIBRARY
# MANGLED_OSMESA_INCLUDE_DIR
# MANGLED_OSMESA_LIBRARY
IF (NOT MANGLED_MESA_INCLUDE_DIR)
FIND_PATH(MANGLED_MESA_INCLUDE_DIR GL/gl_mangle.h )
ENDIF (NOT MANGLED_MESA_INCLUDE_DIR)
IF (NOT MANGLED_MESA_LIBRARY)
FIND_LIBRARY(MANGLED_MESA_LIBRARY MesaGL)
ENDIF (NOT MANGLED_MESA_LIBRARY)
IF (NOT MANGLED_OSMESA_INCLUDE_DIR)
FIND_PATH(MANGLED_OSMESA_INCLUDE_DIR GL/osmesa.h)
ENDIF (NOT MANGLED_OSMESA_INCLUDE_DIR)
IF (NOT MANGLED_OSMESA_LIBRARY)
FIND_LIBRARY(MANGLED_OSMESA_LIBRARY OSMesa)
ENDIF (NOT MANGLED_OSMESA_LIBRARY)
|