1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-23 08:20:01 +01:00
Clementine-audio-player-Mac.../3rdparty/libmygpo-qt5/Mygpo-qtConfig.cmake.in

19 lines
798 B
CMake
Raw Normal View History

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
include(${myDir}/Mygpo-qt@MYGPO_QT_VERSION_SUFFIX@Targets.cmake)
2015-04-11 22:44:11 +02:00
# set the expected library variable
set(LIBMYGPO_QT_LIBRARIES mygpo-qt@MYGPO_QT_VERSION_SUFFIX@ )
2015-04-11 22:44:11 +02:00
set(LIBMYGPO_QT_FOUND "True")