/usr/lib/cmake/KActivities/KActivitiesConfig.cmake is in libkactivities-dev 4:4.13.3-0ubuntu7.
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 | get_filename_component(myDir ${CMAKE_CURRENT_LIST_FILE} PATH) # get the directory where I myself am
get_filename_component(rootDir ${myDir}/ ABSOLUTE) # get the chosen install prefix
# set the version of myself
set(KACTIVITIES_VERSION_MAJOR 6)
set(KACTIVITIES_VERSION_MINOR 2)
set(KACTIVITIES_VERSION_PATCH 0)
set(KACTIVITIES_VERSION 6.2.0)
set(KACTIVITIES_VERSION_STRING "6.2.0")
# what is my include directory
# we have _DIRS for compat with existing usage
SET(KACTIVITIES_INCLUDE_DIRS "/usr/include" "/usr/include/KDE" CACHE PATH "Include path for the KActivities library")
set(KACTIVITIES_INCLUDES "${rootDir}//usr/include" "/usr/include/KDE")
set(KACTIVITIES_ONTOLOGIES_DIR "/usr/share/ontology/kde")
# import the exported targets
include(${myDir}/KActivitiesLibraryTargets.cmake)
# set the expected library variable
# XXX: only KACTIVITIES_LIBRARIES should be used according to CMake's conventions,
# KACTIVITIES_LIBRARY is kept for compatibility with all the places using it.
set(KACTIVITIES_LIBRARY kactivities)
set(KACTIVITIES_LIBRARIES kactivities)
|