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>
9 1 file changed, 1 insertion(+), 1 deletion(-)
11 diff --git a/CMakeLists.txt b/CMakeLists.txt
12 index 31d9987..2fde79f 100755
15 @@ -62,7 +62,7 @@ IF (Qt5Core_FOUND)
17 MESSAGE ("Qt5 not found, searching for 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")