summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <smspillaz@gmail.com>2010-05-14 12:22:32 +0000
committerLive session user <ubuntu@ubuntu.(none)>2010-05-14 12:22:48 +0000
commit1749b0a0a1172963e09b4f4aa667793ee0d763b1 (patch)
treeabd0a062806b031c6d8ae231c394e873281ab563
parent9ccc3241e3c62ae586908eadad98b47432758a59 (diff)
downloadcompizconfig-backend-kconfig4-1749b0a0a1172963e09b4f4aa667793ee0d763b1.tar.gz
compizconfig-backend-kconfig4-1749b0a0a1172963e09b4f4aa667793ee0d763b1.tar.bz2
Add dist and uninstall targets
-rw-r--r--CMakeLists.txt4
-rw-r--r--src/CMakeLists.txt3
2 files changed, 6 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8e3467d..cf8f47c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -21,4 +21,6 @@ add_subdirectory(src)
cf_print_configure_header ()
-cf_add_package_generation ("CompizConfig KDE 4 storage backend") \ No newline at end of file
+compiz_add_uninstall ()
+cf_add_package_generation ("CompizConfig KDE 4 storage backend")
+compiz_add_git_dist ()
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 6c861b6..c72963e 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,10 +1,13 @@
find_package(KDE4 REQUIRED)
+find_package (Compiz REQUIRED)
add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
include(KDE4Defaults)
include(FindPkgConfig)
include(MacroLibrary)
+include(CompizCommon)
+include(CompizPackage)
pkg_check_modules(CCS REQUIRED libcompizconfig)