From 85dc437da27417cce05b5a9f97505b43cfdf4dee Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 23 Aug 2017 18:39:44 -0600 Subject: 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. --- applications/kube/CMakeLists.txt | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'applications') diff --git a/applications/kube/CMakeLists.txt b/applications/kube/CMakeLists.txt index ed9942c5..2d0df2ad 100644 --- a/applications/kube/CMakeLists.txt +++ b/applications/kube/CMakeLists.txt @@ -1,33 +1,8 @@ project(kube) -cmake_minimum_required(VERSION 2.8.12) -cmake_policy(SET CMP0063 NEW) - -include(CPack) -include(FeatureSummary) - -find_package(PkgConfig) - -################# set KDE specific information ################# - -if(APPLE OR WIN32) - # for an ecm_add_app_icon() implementation acception svg icons - set(ECM_MIN_VERSION 5.29.0) -else() - set(ECM_MIN_VERSION 0.0.8) -endif() -find_package(ECM ${ECM_MIN_VERSION} REQUIRED NO_MODULE) - -# where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked -set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR}) - -include(KDEInstallDirs) -include(KDECMakeSettings) -include(KDECompilerSettings) include(ECMAddAppIcon) find_package(Qt5 REQUIRED NO_MODULE COMPONENTS Core Quick Test Gui Widgets WebEngine) - find_package(KF5 REQUIRED COMPONENTS Package) # install executable -- cgit v1.2.3