2015-04-11 22:44:11 +02:00
|
|
|
get_filename_component(myDir ${CMAKE_CURRENT_LIST_FILE} PATH) # get the directory where I myself am
|
|
|
|
get_filename_component(rootDir ${myDir}/@relInstallDir@ ABSOLUTE) # get the chosen install prefix
|
|
|
|
|
|
|
|
# set the version of myself
|
|
|
|
set(MYGPO_QT_VERSION_MAJOR @MYGPO_QT_VERSION_MAJOR@)
|
|
|
|
set(MYGPO_QT_VERSION_MINOR @MYGPO_QT_VERSION_MINOR@)
|
|
|
|
set(MYGPO_QT_VERSION_PATCH @MYGPO_QT_VERSION_PATCH@)
|
|
|
|
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 "@INCLUDE_INSTALL_DIR@")
|
|
|
|
|
|
|
|
# import the exported targets
|
2019-12-22 08:50:20 +01:00
|
|
|
include(${myDir}/Mygpo-qt@MYGPO_QT_VERSION_SUFFIX@Targets.cmake)
|
2015-04-11 22:44:11 +02:00
|
|
|
|
|
|
|
# set the expected library variable
|
2019-12-22 08:50:20 +01:00
|
|
|
set(LIBMYGPO_QT_LIBRARIES mygpo-qt@MYGPO_QT_VERSION_SUFFIX@ )
|
2015-04-11 22:44:11 +02:00
|
|
|
set(LIBMYGPO_QT_FOUND "True")
|