From 0d929b4afe1a761c53df5f1c719334712f05fa6b Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Wed, 27 Aug 2014 16:08:59 +0200 Subject: [PATCH 07/16] Don't assume the target is packagekitqt5 It can also be packagekitqt4 --- src/modules/packagekit-qt-config.cmake.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/packagekit-qt-config.cmake.in b/src/modules/packagekit-qt-config.cmake.in index a91b095..3dcf3f3 100644 --- a/src/modules/packagekit-qt-config.cmake.in +++ b/src/modules/packagekit-qt-config.cmake.in @@ -5,6 +5,6 @@ SET(prefix "@CMAKE_INSTALL_PREFIX@") SET(exec_prefix "@CMAKE_INSTALL_PREFIX@") -SET(PackageKitQt@QT_VERSION@_LIBRARIES "PK::packagekitqt5") +SET(PackageKitQt@QT_VERSION@_LIBRARIES "PK::@LIBNAME@") include("${CMAKE_CURRENT_LIST_DIR}/PackageKitQtTargets.cmake") -- 2.1.0