Edit

kc3-lang/ftgl/FTGLConfig-install.cmake.in

Branch :

  • Show log

    Commit

  • Author : Ben Boeckel
    Date : 2016-02-25 15:31:02
    Hash : 45f4ec1f
    Message : cmake: install a proper config file FTGL knows exactly what is necessary for its install, so a config file is more appropriate. A "FindDep" module is meant for projects which need "Dep" which doesn't ship a configuration file.

  • FTGLConfig-install.cmake.in
  • include("${CMAKE_CURRENT_LIST_DIR}/FTGL-targets.cmake")
    
    set(FTGL_INCLUDE_DIR "@CMAKE_INSTALL_PREFIX@/include")
    set(FTGL_LIBRARY     ftgl)
    
    set(FTGL_INCLUDE_DIRS ${FTGL_SOURCE_DIR})
    set(FTGL_LIBRARIES    ${FTGL_LIBRARY})