summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-10-23 07:44:12 +0200
committerMontel Laurent <[email protected]>2017-10-23 07:44:32 +0200
commitceb9b9d11ecfdb2746bfb296870f321ece6157d4 (patch)
treefc4f3fc2be95dc6b8096a07e54aeacc7d784ee33
parentef0a1986a819d24b94eb9a560f472c96a192ca34 (diff)
It's already done by kaboutdata
-rw-r--r--CMakeLists.txt6
-rw-r--r--src/main.cpp2
2 files changed, 3 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9fdc86f..a25d6b3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,10 +1,10 @@
PROJECT(ksquares)
cmake_minimum_required (VERSION 2.8.12 FATAL_ERROR)
-set (QT_MIN_VERSION "5.3.0")
-set (KF5_MIN_VERSION "5.15.0")
+set (QT_MIN_VERSION "5.7.0")
+set (KF5_MIN_VERSION "5.30.0")
-find_package(ECM 1.7.0 REQUIRED CONFIG)
+find_package(ECM ${KF5_MIN_VERSION} REQUIRED CONFIG)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
find_package(Qt5 ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS Widgets)
diff --git a/src/main.cpp b/src/main.cpp
index 927a88f..ce9410b 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -45,8 +45,6 @@ int main(int argc, char **argv)
QCommandLineParser parser;
KAboutData::setApplicationData(about);
KCrash::initialize();
- parser.addVersionOption();
- parser.addHelpOption();
parser.addOption(QCommandLineOption(QStringList() << QStringLiteral("demo"), i18n("Run game in demo (autoplay) mode")));
about.setupCommandLine(&parser);