[SCM] ktp-auth-handler packaging branch, master, updated. debian/15.12.1-2-282-g080758e

Maximiliano Curia maxy at moszumanska.debian.org
Fri May 27 23:59:39 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-auth-handler.git;a=commitdiff;h=a063a66

The following commit has been merged in the master branch:
commit a063a667971cc4f8b0c0a3d6f17f55925366c7ee
Author: Martin Klapetek <mklapetek at kde.org>
Date:   Wed Nov 12 16:33:42 2014 +0100

    Fix the KAccounts cmake module
    
    Matches AccountsQt module now
---
 cmake/modules/FindKAccounts.cmake | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

diff --git a/cmake/modules/FindKAccounts.cmake b/cmake/modules/FindKAccounts.cmake
index ad12c01..4b6c829 100644
--- a/cmake/modules/FindKAccounts.cmake
+++ b/cmake/modules/FindKAccounts.cmake
@@ -7,21 +7,24 @@
 # For details see the accompanying COPYING-CMAKE-SCRIPTS file.
 
 SET (KACCOUNTS_FIND_REQUIRED ${KAccounts_FIND_REQUIRED})
-if (KACCOUNTS_INCLUDE_DIRS AND KACCOUNTS_LIBRARIES)
+if (KACCOUNTS_INCLUDE_DIR AND KACCOUNTS_LIBRARY)
   # Already in cache, be silent
   set(KACCOUNTS_FIND_QUIETLY TRUE)
-endif (KACCOUNTS_INCLUDE_DIRS AND KACCOUNTS_LIBRARIES)
+endif (KACCOUNTS_INCLUDE_DIR AND KACCOUNTS_LIBRARY)
 
-find_path(KACCOUNTS_INCLUDE_DIRS
+find_path(KACCOUNTS_INCLUDE_DIR
   NAMES KAccounts/kaccountsuiplugin.h
-  PATHS ${KF5_INCLUDE_DIR}
+  PATHS ${CMAKE_INSTALL_FULL_INCLUDEDIR}
 )
 
-find_library(KACCOUNTS_LIBRARIES NAMES kaccounts)
+find_library(KACCOUNTS_LIBRARY NAMES kaccounts)
+
+set(KACCOUNTS_INCLUDE_DIRS ${KACCOUNTS_INCLUDE_DIR})
+set(KACCOUNTS_LIBRARIES ${KACCOUNTS_LIBRARY})
 
 include(FindPackageHandleStandardArgs)
 FIND_PACKAGE_HANDLE_STANDARD_ARGS(KAccounts DEFAULT_MSG
-                                  KACCOUNTS_LIBRARIES
-                                  KACCOUNTS_INCLUDE_DIRS)
+                                  KACCOUNTS_LIBRARY
+                                  KACCOUNTS_INCLUDE_DIR)
 
-mark_as_advanced(KACCOUNTS_INCLUDE_DIRS KACCOUNTS_LIBRARIES)
+mark_as_advanced(KACCOUNTS_INCLUDE_DIR KACCOUNTS_LIBRARY)

-- 
ktp-auth-handler packaging



More information about the pkg-kde-commits mailing list