From 92b87c1d90fbecd23d4a2c50087b8020eea4e089 Mon Sep 17 00:00:00 2001 From: Alex Neundorf Date: Tue, 12 Jul 2011 22:55:40 +0200 Subject: -add basic support for packaging Alex --- CMakeLists.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 784a2c75..d820fec4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,4 +27,11 @@ install(FILES ${installFiles} DESTINATION share/extra-cmake-modules-${ECM_VERSIO # need to install a Config.cmake file -# need to add cpack setup stuff for creating a package +# set up packaging +set(CPACK_PACKAGE_NAME extra-cmake-modules ) +set(CPACK_PACKAGE_VERSION ${ECM_VERSION}) +set(CPACK_SYSTEM_NAME "generic") +set(CPACK_GENERATOR "TGZ") +set(CPACK_SET_DESTDIR FALSE) + +include(CPack) -- cgit v1.2.1