ruby: bump version to 2.4.1
[buildroot-gz.git] / package / qjson / 0001-fix-Qt4-package-error-in-CMakeLists.txt.patch
bloba9e34e4c268a522550fcb3915c7ca5c5e31f26bc
1 From 254858bbf443bded2e80480e9f9032ce166b923e Mon Sep 17 00:00:00 2001
2 From: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
3 Date: Fri, 2 Dec 2016 23:00:58 +0100
4 Subject: [PATCH] CMake, Qt4: check specifically for QtCore, fixes #96
6 Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
7 ---
8 CMakeLists.txt | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
11 diff --git a/CMakeLists.txt b/CMakeLists.txt
12 index 31d9987..2fde79f 100755
13 --- a/CMakeLists.txt
14 +++ b/CMakeLists.txt
15 @@ -62,7 +62,7 @@ IF (Qt5Core_FOUND)
16 ELSE()
17 MESSAGE ("Qt5 not found, searching for Qt4")
18 # Find Qt4
19 - FIND_PACKAGE( Qt4 4.5 REQUIRED )
20 + FIND_PACKAGE( Qt4 4.5 REQUIRED QtCore)
21 # QStringBuilder is supported since Qt 4.8 for both QString and QByteArray
22 IF (NOT (${QT_VERSION_MINOR} STRLESS "8"))
23 MESSAGE ("Enable QStringBuilder")
24 --
25 2.7.4