diff options
| author | Timothy Collett | 2012-05-29 16:12:35 -0400 |
|---|---|---|
| committer | Timothy Collett | 2012-05-29 16:12:35 -0400 |
| commit | 6d65683b02a7a78463d0b25e6cd56a7ae35d34cd (patch) | |
| tree | fc2b1bc69b107921a4643f8d984a950bc1d9999a /CMakeLists.txt | |
| parent | 20a00f53c4a6b4f105c09be9730892e0898e71d1 (diff) | |
| download | dfhack-6d65683b02a7a78463d0b25e6cd56a7ae35d34cd.tar.gz dfhack-6d65683b02a7a78463d0b25e6cd56a7ae35d34cd.tar.bz2 dfhack-6d65683b02a7a78463d0b25e6cd56a7ae35d34cd.tar.xz | |
Adjust packaging for Mac
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
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() |
