mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-22 15:58:45 +01:00
c246142951
The updates include: - The ability to specify a custom gpodder service. - Use https instead of http for gpodder.net. - A fix that prevents encoded URLs from being re-encoded.
19 lines
798 B
CMake
19 lines
798 B
CMake
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)
|
|
|
|
# set the expected library variable
|
|
set(LIBMYGPO_QT_LIBRARIES mygpo-qt@MYGPO_QT_VERSION_SUFFIX@ )
|
|
set(LIBMYGPO_QT_FOUND "True")
|