[SCM] ktp-accounts-kcm packaging branch, master, updated. debian/15.12.1-1-1157-gc4589c5
Maximiliano Curia
maxy at moszumanska.debian.org
Sat May 28 00:06:12 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-accounts-kcm.git;a=commitdiff;h=db3876a
The following commit has been merged in the master branch:
commit db3876a4c7ccbe30acc04b8ae9e29f0bc7b940d3
Author: Martin Klapetek <mklapetek at kde.org>
Date: Wed Nov 12 16:33:02 2014 +0100
Fix the KAccounts cmake module
Matches AccountsQt module now
---
cmake/modules/FindKAccounts.cmake | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/cmake/modules/FindKAccounts.cmake b/cmake/modules/FindKAccounts.cmake
index effead6..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_DIR
NAMES KAccounts/kaccountsuiplugin.h
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_LIBRARY
KACCOUNTS_INCLUDE_DIR)
-mark_as_advanced(KACCOUNTS_INCLUDE_DIRS KACCOUNTS_LIBRARIES)
+mark_as_advanced(KACCOUNTS_INCLUDE_DIR KACCOUNTS_LIBRARY)
--
ktp-accounts-kcm packaging
More information about the pkg-kde-commits
mailing list