/usr/lib/cmake/mygpo-qt/Mygpo-qtConfig.cmake is in libmygpo-qt-dev 1.0.5-0ubuntu1.
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 | 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(MYGPO_QT_VERSION_MAJOR 1)
set(MYGPO_QT_VERSION_MINOR 0)
set(MYGPO_QT_VERSION_PATCH 5)
set(MYGPO_QT_VERSION ${MYGPO_QT_VERSION_MAJOR}.${MYGPO_QT_VERSION_MINOR}.${MYGPO_QT_VERSION_PATCH} )
# what is my include directory
set(LIBMYGPO_QT_INCLUDE_DIRS "//usr/include/mygpo-qt")
# import the exported targets
include(${myDir}/Mygpo-qtTargets.cmake)
# set the expected library variable
set(LIBMYGPO_QT_LIBRARIES mygpo-qt )
set(LIBMYGPO_QT_FOUND "True")
|