blob: a5d44fb19a9783b86aae21b34944b455c9c54301 (
plain) (
tree)
|
|
# - 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)
|