diff options
author | Sam Spilsbury <sam.spilsbury@canonical.com> | 2011-07-08 14:05:24 +0800 |
---|---|---|
committer | Sam Spilsbury <sam.spilsbury@canonical.com> | 2011-07-08 14:05:24 +0800 |
commit | 976516be1ecc15284ded087aac5b7c7928edf52a (patch) | |
tree | bd26b29a25b341778bdb1fdb9b12941a8c05291b | |
parent | 824303fb0b1e938050966b2d87c77d63240ecc2b (diff) | |
download | ccsm-976516be1ecc15284ded087aac5b7c7928edf52a.tar.gz ccsm-976516be1ecc15284ded087aac5b7c7928edf52a.tar.bz2 |
Add hack to make distcheck work, project () only works on C/CXX projects
but not for python ones
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 50ece78..1fd971d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,8 @@ find_package (CompizConfig REQUIRED) include (LibCompizConfigCommon) -project (compizconfig-settings-manager) +# Hack +set (CMAKE_PROJECT_NAME ccsm) file (READ ${CMAKE_SOURCE_DIR}/VERSION COMPIZ_RELEASE_VERSION LIMIT 12 OFFSET 0) string (STRIP ${COMPIZ_RELEASE_VERSION} COMPIZ_RELEASE_VERSION) |