[plasma-mobile] cmake/modules: Fix the fphsa call. We need to work with old cmake versions.

Michael Jansen kde at michael-jansen.biz
Mon Mar 26 21:14:23 UTC 2012


Git commit b352e8547777eb3e33f935e54bb4b8bc5b52a770 by Michael Jansen.
Committed on 26/03/2012 at 23:13.
Pushed by mjansen into branch 'master'.

Fix the fphsa call. We need to work with old cmake versions.

COFIG_MODE was used as version var. thx to rakuco for the heads up about the typo
which showed the problem.

CCMAIL: kde-buildsystem at kde.org

M  +4    -4    cmake/modules/FindKActivities.cmake

http://commits.kde.org/plasma-mobile/b352e8547777eb3e33f935e54bb4b8bc5b52a770

diff --git a/cmake/modules/FindKActivities.cmake b/cmake/modules/FindKActivities.cmake
index c74a38f..701265f 100644
--- a/cmake/modules/FindKActivities.cmake
+++ b/cmake/modules/FindKActivities.cmake
@@ -32,9 +32,9 @@ find_package(
     ${_find_package_args}
     NO_MODULE)
 
-find_package_handle_standard_args(
-    KActivities
-    REQUIRED_VARS KACTIVITIES_INCLUDE_DIRS
-    VERSION_VAR   COFIG_MODE)
+FIND_PACKAGE_HANDLE_STANDARD_ARGS(
+        KActivities
+        REQUIRED_VARS KACTIVITIES_INCLUDE_DIRS KACTIVITIES_LIBRARIES
+        VERSION_VAR   KACTIVITIES_VERSION)
 
 


More information about the Kde-buildsystem mailing list