plasma-framework/KF5PlasmaConfig.cmake.in
Friedrich W. H. Kossebau f018779459 Use ecm_setup_qtplugin_macro_names
Summary:
Avoids all the explicit boilerplate needed and allows
code reusing.

Depends on D10749

Test Plan:
Still builds, generated and installed CMake Config file works
as before.

Reviewers: #plasma, #frameworks

Subscribers: apol

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D11295
2018-03-21 00:55:32 +01:00

26 lines
955 B
CMake

@PACKAGE_INIT@
# Any changes in this ".cmake" file will be overwritten by CMake, the source is the ".cmake.in" file.
include("${CMAKE_CURRENT_LIST_DIR}/KF5PlasmaTargets.cmake")
@PACKAGE_INCLUDE_QCHTARGETS@
set(Plasma_INSTALL_PREFIX "@PACKAGE_CMAKE_INSTALL_PREFIX@")
set(Plasma_LIBRARIES KF5::Plasma)
set(PLASMA_DATAENGINES_PLUGINDIR ${KDE_INSTALL_PLUGINDIR}/plasma/dataengine)
set(PLASMA_PLASMOIDS_PLUGINDIR ${KDE_INSTALL_PLUGINDIR}/plasma/applets)
set(PLASMA_SCRIPTENGINES_PLUGINDIR ${KDE_INSTALL_PLUGINDIR}/plasma/scriptengines)
set(PLASMA_CONTAINMENTACTIONS_PLUGINDIR ${KDE_INSTALL_PLUGINDIR}/plasma/containmentactions)
include(CMakeFindDependencyMacro)
find_dependency(Qt5Gui "@REQUIRED_QT_VERSION@")
find_dependency(KF5Package "@KF5_DEP_VERSION@")
find_dependency(KF5Service "@KF5_DEP_VERSION@")
find_dependency(KF5WindowSystem "@KF5_DEP_VERSION@")
@PACKAGE_SETUP_AUTOMOC_VARIABLES@
include("${CMAKE_CURRENT_LIST_DIR}/KF5PlasmaMacros.cmake")