From f9033809a2ebe018362ec143ef3b22a19c53ac14 Mon Sep 17 00:00:00 2001 From: matlabbe Date: Wed, 27 Jun 2012 14:00:53 +0000 Subject: [PATCH] added cpack source generator zip for linux/mac git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@582 f169173b-cf89-36c8-b27e-44dbe73f0c83 --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3ca1d47f..842aeb35 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -273,14 +273,14 @@ ELSEIF(APPLE) SET(CPACK_GENERATOR "PackageMaker;TBZ2") ENDIF() - SET(CPACK_SOURCE_GENERATOR "TBZ2") + SET(CPACK_SOURCE_GENERATOR "ZIP;TBZ2") SET(CPACK_PACKAGE_ICON "${PROJECT_SOURCE_DIR}/app/src/${PROJECT_NAME}.icns") ELSE() SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/COPYING.txt") SET(CPACK_GENERATOR "DEB;TBZ2") - SET(CPACK_SOURCE_GENERATOR "TBZ2") + SET(CPACK_SOURCE_GENERATOR "ZIP;TBZ2") # Extern : UtiLite (>= 0.2) http://code.google.com/p/utilite/, OpenCV (>= 2.2) http://opencv.willowgarage.com/wiki/ # ex. SET(CPACK_DEBIAN_PACKAGE_DEPENDS "libc6 (>= 2.3.1-6), libgcc1 (>= 1:3.4.2-12)")