[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kdelibs/frameworks] tier1/kguiaddons: Replace looking for KConfigCore by find_dependency() call
From: Martin Klapetek <mklapetek () kde ! org>
Date: 2013-09-04 13:31:28
Message-ID: E1VHDBA-0001lV-GB () scm ! kde ! org
[Download RAW message or body]
Git commit 448cdb92381305c0c16c2f9ba2672b9984031d9d by Martin Klapetek.
Committed on 04/09/2013 at 13:31.
Pushed by mklapetek into branch 'frameworks'.
Replace looking for KConfigCore by find_dependency() call
Reviewed-by: Stephen Kelly
M +1 -6 tier1/kguiaddons/KGuiAddonsConfig.cmake.in
http://commits.kde.org/kdelibs/448cdb92381305c0c16c2f9ba2672b9984031d9d
diff --git a/tier1/kguiaddons/KGuiAddonsConfig.cmake.in b/tier1/kguiaddons/=
KGuiAddonsConfig.cmake.in
index 1b977c2..0a10da9 100644
--- a/tier1/kguiaddons/KGuiAddonsConfig.cmake.in
+++ b/tier1/kguiaddons/KGuiAddonsConfig.cmake.in
@@ -3,12 +3,7 @@
# Any changes in this file will be overwritten by CMake.
=
find_dependency(Qt5Gui @REQUIRED_QT_VERSION@)
-
-if(NOT TARGET KF5::KConfigCore)
- set(KConfig_NOT_FOUND_MESSAGE "KGuiAddons depends on the package KConfi=
g, which is missing. Use find_package() to find it before KGuiAddons.")
- set(KConfig_FOUND FALSE)
- return()
-endif()
+find_dependency(KConfigCore "${PACKAGE_VERSION}")
=
set(KGuiAddons_INSTALL_PREFIX "@PACKAGE_CMAKE_INSTALL_PREFIX@")
set_and_check(KGuiAddons_INCLUDE_DIR "@PACKAGE_INCLUDE_INSTALL_DIR@")
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic