diff options
author | jandegr <jandegr@users.noreply.github.com> | 2017-05-04 09:40:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-04 09:40:17 +0200 |
commit | 6a0a36650154de68b7c4bc38f4e7999a63aca5b4 (patch) | |
tree | 7250bf203a588ed0b3303aac7b78ed10a4dacdc3 | |
parent | a5b607303d83e2b46950e2aef63eb5787f3098fb (diff) | |
download | navit-QA_FIX_QT_RELATED.tar.gz |
reverse QT default stateQA_FIX_QT_RELATED
-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) |