aboutsummaryrefslogblamecommitdiffstats
path: root/cmake/FindFTGL.cmake
blob: a5d44fb19a9783b86aae21b34944b455c9c54301 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                                                                     
# - Locate FTGL library
# This module defines
#  FTGL_LIBRARIES, the library to link against
#  FTGL_FOUND, if false, do not try to link to FTGL
#  FTGL_INCLUDE_DIRS, where to find headers.
#
# $FTGL_DIR is an environment variable that points to the main ftgl directory.

FIND_PATH(FTGL_INCLUDE_DIRS FTGL/ftgl.h HINTS $ENV{FTGL_DIR})
FIND_LIBRARY(FTGL_LIBRARY NAMES ftgl libftgl ftgl_static HINTS $ENV{FTGL_DIR})

INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(FTGL  DEFAULT_MSG  FTGL_LIBRARY  FTGL_INCLUDE_DIRS)

MARK_AS_ADVANCED(FTGL_LIBRARY FTGL_INCLUDE_DIRS)