Skip to content

Commit

Permalink
Use ECM
Browse files Browse the repository at this point in the history
  • Loading branch information
plfiorini committed Feb 10, 2015
1 parent 3982d3d commit bb6b6fe
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
project(HawaiiWallpapers NONE)
project(HawaiiWallpapers)

cmake_minimum_required(VERSION 2.8.7)

Expand All @@ -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(
Expand Down

0 comments on commit bb6b6fe

Please sign in to comment.