]> git.pld-linux.org Git - packages/QtKeychain.git/blobdiff - cmake.patch
- up to 0.8.0
[packages/QtKeychain.git] / cmake.patch
diff --git a/cmake.patch b/cmake.patch
new file mode 100644 (file)
index 0000000..97e3e2b
--- /dev/null
@@ -0,0 +1,20 @@
+--- qtkeychain-0.8.0/CMakeLists.txt.orig       2017-04-19 15:09:34.000000000 +0200
++++ qtkeychain-0.8.0/CMakeLists.txt    2018-04-12 23:34:17.672301365 +0200
+@@ -21,6 +21,8 @@
+ option(BUILD_TRANSLATIONS "Build translations" ON)
+ option(QTKEYCHAIN_STATIC "Build static library" OFF)
++list(APPEND qtkeychain_LIBRARIES "-lglib-2.0")
++
+ if(CMAKE_SYSTEM_NAME STREQUAL Android)
+     set(ANDROID 1)
+ endif()
+@@ -38,7 +40,7 @@
+     find_package(Qt5Core QUIET)
+ endif()
+-if (Qt5Core_FOUND)
++if (Qt5Core_FOUND AND NOT BUILD_WITH_QT4 )
+   set(QTKEYCHAIN_VERSION_INFIX 5)
+   if(UNIX AND NOT APPLE AND NOT ANDROID)
This page took 0.055047 seconds and 4 git commands to generate.