From bb6b6fe5e2f72144412152c21af785e6bb1d7b23 Mon Sep 17 00:00:00 2001 From: Pier Luigi Fiorini Date: Tue, 10 Feb 2015 19:13:15 +0100 Subject: [PATCH] Use ECM --- CMakeLists.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8aaad52..e75fccd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -project(HawaiiWallpapers NONE) +project(HawaiiWallpapers) cmake_minimum_required(VERSION 2.8.7) @@ -8,8 +8,12 @@ set(WALLPAPERS_VERSION_MINOR 3) set(WALLPAPERS_VERSION_PATCH 0) set(WALLPAPERS_VERSION_STRING "${WALLPAPERS_VERSION_MAJOR}.${WALLPAPERS_VERSION_MINOR}.${WALLPAPERS_VERSION_PATCH}") +# ECM +find_package(ECM 0.0.11 REQUIRED NO_MODULE) +set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake" ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR}) + # Installation directories -include(GNUInstallDirs) +include(KDEInstallDirs) # Add custom uninstall target configure_file(