From 6a0a36650154de68b7c4bc38f4e7999a63aca5b4 Mon Sep 17 00:00:00 2001 From: jandegr Date: Thu, 4 May 2017 09:40:17 +0200 Subject: reverse QT default state --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e4e5ed7aa..c772c20fc 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -163,7 +163,7 @@ find_package(OpenSSL) find_package(Threads) libfind_pkg_check_modules(FONTCONFIG fontconfig) #Qt detection -if (NOT DISABLE_QT) +if (ENABLE_QT) find_package(Qt5Widgets) find_package(Qt5Quick) find_package(Qt5Positioning) @@ -183,7 +183,7 @@ if (NOT DISABLE_QT) # be fixed later... find_package(Qt4 4.7 COMPONENTS QtCore OPTIONAL_COMPONENTS QtGui QtXml QtDeclarative QtSvg) endif (Qt5Widgets_FOUND OR Qt5Quick_FOUND OR Qt5Sensors_FOUND) -endif (NOT DISABLE_QT) +endif (ENABLE_QT) #pkg-config based detection find_package(PkgConfig) -- cgit v1.2.1