projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
577a271
)
Fix build on Debian 7 (CMake pre 2.8.12)
author
Dominik Schmidt
<dev@dominik-schmidt.de>
Fri, 26 May 2017 11:24:54 +0000
(13:24 +0200)
committer
Markus Goetz
<markus@woboq.com>
Mon, 29 May 2017 19:44:25 +0000
(21:44 +0200)
cmake/modules/FindQt5Keychain.cmake
patch
|
blob
|
history
diff --git
a/cmake/modules/FindQt5Keychain.cmake
b/cmake/modules/FindQt5Keychain.cmake
index 6848763fe7f2026a8dfd9bd1c52daf05733e27bf..4aff32d6fb15062d2aa0f4183bd8bfeaa8dd3d6a 100644
(file)
--- a/
cmake/modules/FindQt5Keychain.cmake
+++ b/
cmake/modules/FindQt5Keychain.cmake
@@
-13,7
+13,9
@@
# so that it doesn't pull a different Qt version. For that reason
# first look in the Qt lib directory for QtKeychain.
get_target_property(_QTCORE_LIB_PATH Qt5::Core IMPORTED_LOCATION_RELEASE)
-get_filename_component(QT_LIB_DIR "${_QTCORE_LIB_PATH}" DIRECTORY)
+
+# Use PATH here because Debian 7.0 has CMake 2.8.9 and DIRECTORY is only available from 2.8.12+
+get_filename_component(QT_LIB_DIR "${_QTCORE_LIB_PATH}" PATH)
find_path(QTKEYCHAIN_INCLUDE_DIR
NAMES