keychain.patch 845 B

12345678910111213141516171819202122232425262728
  1. From 7adf95ea43874f006ff3e1ae39a3aea05184e2d5 Mon Sep 17 00:00:00 2001
  2. From: Matthias Kuhn <matthias@opengis.ch>
  3. Date: Wed, 28 Jul 2021 07:28:28 +0200
  4. Subject: [PATCH] Qt5Keychain
  5. ---
  6. CMakeLists.txt | 5 ++++-
  7. 1 file changed, 4 insertions(+), 1 deletion(-)
  8. diff --git a/CMakeLists.txt b/CMakeLists.txt
  9. index b8d9287728..7a41b0d1e2 100644
  10. --- a/CMakeLists.txt
  11. +++ b/CMakeLists.txt
  12. @@ -490,7 +490,10 @@ if(WITH_CORE)
  13. endif()
  14. # Password helper
  15. - find_package(QtKeychain REQUIRED)
  16. + find_package(Qt5Keychain REQUIRED)
  17. + set(QTKEYCHAIN_INCLUDE_DIR ${QTKEYCHAIN_INCLUDE_DIRS}/qt5keychain)
  18. + set(QTKEYCHAIN_LIBRARY ${QTKEYCHAIN_LIBRARIES})
  19. + set(QTKEYCHAIN_FOUND ${Qt5Keychain_FOUND})
  20. # Master password hash and authentication encryption
  21. find_package(QCA REQUIRED)
  22. # Check for runtime dependency of qca-ossl plugin
  23. --
  24. 2.31.1