find dependency then include kf5plasmatargets

Change-Id: I9c28e7c416deb3d040a0a97d6dbad8a5d4fbce10
This commit is contained in:
Marco Martin 2014-12-30 13:06:16 +01:00
parent 6f7a3ae9ea
commit bc2253b666

View File

@ -2,10 +2,10 @@
# Any changes in this ".cmake" file will be overwritten by CMake, the source is the ".cmake.in" file. # 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")
find_dependency(KF5Package "@KF5_DEP_VERSION@") find_dependency(KF5Package "@KF5_DEP_VERSION@")
include("${CMAKE_CURRENT_LIST_DIR}/KF5PlasmaTargets.cmake")
set(Plasma_INSTALL_PREFIX "@PACKAGE_CMAKE_INSTALL_PREFIX@") set(Plasma_INSTALL_PREFIX "@PACKAGE_CMAKE_INSTALL_PREFIX@")
set_and_check(Plasma_INCLUDE_DIR "@PACKAGE_KF5_INCLUDE_INSTALL_DIR@") set_and_check(Plasma_INCLUDE_DIR "@PACKAGE_KF5_INCLUDE_INSTALL_DIR@")