/usr/lib/cmake/grantlee/GrantleeConfig.cmake is in libgrantlee-dev 0.4.0-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | # Grantlee CMake configuration file - http://www.grantlee.org/
# Any changes in this file will be overwritten by CMake.
get_filename_component(GrantleeRootDir ${CMAKE_CURRENT_LIST_DIR}/../../../ ABSOLUTE) # get the chosen install prefix
if (Grantlee_FIND_COMPONENTS)
foreach( component ${Grantlee_FIND_COMPONENTS})
if (component STREQUAL "Textdocument")
set(RequiredQtComponents ${RequiredQtComponents} QtCore QtGui)
endif()
if (component STREQUAL "Templates")
set(RequiredQtComponents ${RequiredQtComponents} QtCore)
endif()
endforeach()
find_package(Qt4 REQUIRED ${RequiredQtComponents})
else()
find_package(Qt4 REQUIRED)
endif()
set(Grantlee_MIN_PLUGIN_VERSION "0.1")
set(Grantlee_INSTALL_PREFIX "${GrantleeRootDir}")
set(Grantlee_INCLUDE_DIRS "${GrantleeRootDir}/include")
set(Grantlee_LIBRARY_DIR "${GrantleeRootDir}/lib")
set(Grantlee_MODULE_DIR "${Grantlee_LIBRARY_DIR}/cmake/grantlee")
set(Grantlee_PLUGIN_DIR "${Grantlee_LIBRARY_DIR}")
set(Grantlee_TEMPLATES_LIBRARY grantlee_core)
set(Grantlee_TEXTDOCUMENT_LIBRARY grantlee_gui)
set(Grantlee_TEMPLATES_LIBRARIES ${Grantlee_TEMPLATES_LIBRARY} )
set(Grantlee_TEXTDOCUMENT_LIBRARIES ${Grantlee_TEXTDOCUMENT_LIBRARY} )
# For backwards compatibility
set(Grantlee_CORE_LIBRARY ${Grantlee_TEMPLATES_LIBRARY})
set(Grantlee_CORE_LIBRARIES ${Grantlee_TEMPLATES_LIBRARIES})
set(Grantlee_GUI_LIBRARY ${Grantlee_TEXTDOCUMENT_LIBRARY})
set(Grantlee_GUI_LIBRARIES ${Grantlee_TEXTDOCUMENT_LIBRARIES})
set(Grantlee_PLUGIN_PATH ${Grantlee_PLUGIN_DIR})
# Now for the use file, which contains useful functions, sets up the project
set(Grantlee_USE_FILE "${CMAKE_CURRENT_LIST_DIR}/GrantleeUse.cmake")
if (NOT _grantlee_targets_included)
set(_grantlee_targets_included 1)
include(${CMAKE_CURRENT_LIST_DIR}/GrantleeTargets.cmake)
endif()
|