diff options
-rwxr-xr-x | CMakeLists.txt | 4 |
1 files 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) |