From 6d65683b02a7a78463d0b25e6cd56a7ae35d34cd Mon Sep 17 00:00:00 2001 From: Timothy Collett Date: Tue, 29 May 2012 16:12:35 -0400 Subject: Adjust packaging for Mac --- CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index af3bba8d..62be3e8c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -160,7 +160,11 @@ endif() # Packaging with CPack! IF(UNIX) - SET(CPACK_GENERATOR "TGZ") + if(APPLE) + SET(CPACK_GENERATOR "ZIP") + else() + SET(CPACK_GENERATOR "TGZ") + endif() ELSEIF(WIN32) SET(CPACK_GENERATOR "ZIP") ENDIF() -- cgit v1.2.1