diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-08-23 18:39:44 -0600 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-08-23 18:39:44 -0600 |
commit | 85dc437da27417cce05b5a9f97505b43cfdf4dee (patch) | |
tree | 3b6984e9f42a085fae821d4024326987a48fdc98 /tests | |
parent | 25b4f6e2d7ed2d783b8ee1eefbe62df713ca0341 (diff) | |
download | kube-85dc437da27417cce05b5a9f97505b43cfdf4dee.tar.gz kube-85dc437da27417cce05b5a9f97505b43cfdf4dee.zip |
The grand cmake cleanup
We had a ton of duplication in our cmake code because we had no common
toplevel settings. This is now cleaned up so we can sanely change
settings and so we know what we have set.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/CMakeLists.txt | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index f18ebc09..0515c052 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt | |||
@@ -1,23 +1,5 @@ | |||
1 | project(tests) | 1 | project(tests) |
2 | 2 | ||
3 | cmake_minimum_required(VERSION 2.8.12) | ||
4 | cmake_policy(SET CMP0063 NEW) | ||
5 | |||
6 | include(CPack) | ||
7 | include(FeatureSummary) | ||
8 | find_package(PkgConfig) | ||
9 | |||
10 | ################# set KDE specific information ################# | ||
11 | |||
12 | find_package(ECM 0.0.8 REQUIRED NO_MODULE) | ||
13 | |||
14 | # where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked | ||
15 | set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR}) | ||
16 | |||
17 | include(KDEInstallDirs) | ||
18 | include(KDECMakeSettings) | ||
19 | include(KDECompilerSettings) | ||
20 | |||
21 | find_package(Qt5 REQUIRED NO_MODULE COMPONENTS Core Quick Test Gui Widgets WebEngine QuickTest) | 3 | find_package(Qt5 REQUIRED NO_MODULE COMPONENTS Core Quick Test Gui Widgets WebEngine QuickTest) |
22 | 4 | ||
23 | # build testrunner | 5 | # build testrunner |