diff --git a/KF5PlasmaConfig.cmake.in b/KF5PlasmaConfig.cmake.in index 13d10f298..dac1ce84c 100644 --- a/KF5PlasmaConfig.cmake.in +++ b/KF5PlasmaConfig.cmake.in @@ -2,10 +2,10 @@ # 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@") +include("${CMAKE_CURRENT_LIST_DIR}/KF5PlasmaTargets.cmake") + set(Plasma_INSTALL_PREFIX "@PACKAGE_CMAKE_INSTALL_PREFIX@") set_and_check(Plasma_INCLUDE_DIR "@PACKAGE_KF5_INCLUDE_INSTALL_DIR@")