X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=CMakeLists.txt;h=e8beb5b4b0571949b5419623074f866ddfc2eb9b;hp=b6ab772573b297f20899d38d7214b1bdf9752d4e;hb=71b32fa06fe8777f7e2d26bc8592f75cf4a3ffe5;hpb=7479bf936c0bdbcd1b078a62f6ff9ac5b9b9269b diff --git a/CMakeLists.txt b/CMakeLists.txt index b6ab7725..e8beb5b4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,13 +40,13 @@ include(QuasselMacros) # Options and variables that can be set on the command line ##################################################################### -# First, choose a Qt version. We support USE_QT4 and USE_QT5; if neither is set, prefer Qt4 for now -option(USE_QT5 "Enable support for Qt5 (disables KDE integration)" OFF) -if (USE_QT4) # takes precedence - set(USE_QT5 OFF) +# First, choose a Qt version. We support USE_QT5 and USE_QT4; if neither is set, Qt5 will be used +option(USE_QT5 "Enable support for Qt5" OFF) +if (USE_QT5) # takes precedence + set(USE_QT4 OFF) else() - if (NOT USE_QT5) - set(USE_QT4 ON) + if (NOT USE_QT4) + set(USE_QT5 ON) endif() endif()