]> git.pld-linux.org Git - packages/QtKeychain.git/blame - cmake.patch
- up to 0.8.0
[packages/QtKeychain.git] / cmake.patch
CommitLineData
5498a8aa
JR
1--- qtkeychain-0.8.0/CMakeLists.txt.orig 2017-04-19 15:09:34.000000000 +0200
2+++ qtkeychain-0.8.0/CMakeLists.txt 2018-04-12 23:34:17.672301365 +0200
3@@ -21,6 +21,8 @@
4 option(BUILD_TRANSLATIONS "Build translations" ON)
5 option(QTKEYCHAIN_STATIC "Build static library" OFF)
6
7+list(APPEND qtkeychain_LIBRARIES "-lglib-2.0")
8+
9 if(CMAKE_SYSTEM_NAME STREQUAL Android)
10 set(ANDROID 1)
11 endif()
12@@ -38,7 +40,7 @@
13 find_package(Qt5Core QUIET)
14 endif()
15
16-if (Qt5Core_FOUND)
17+if (Qt5Core_FOUND AND NOT BUILD_WITH_QT4 )
18 set(QTKEYCHAIN_VERSION_INFIX 5)
19
20 if(UNIX AND NOT APPLE AND NOT ANDROID)
This page took 0.117078 seconds and 4 git commands to generate.