From b20d7d7c7e69590fb35f2867721fb3520b3eb010 Mon Sep 17 00:00:00 2001 From: Cong Date: Tue, 23 Jul 2013 22:04:04 +1000 Subject: [PATCH] Add dragndrop generator for mac --- src/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 4ae937ca8..2fa850ec3 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -198,6 +198,8 @@ IF(MSVC) SET(CPACK_CREATE_DESKTOP_LINKS cdogs-sdl) SET(CPACK_NSIS_MUI_FINISHPAGE_RUN ..\\\\cdogs-sdl.exe) SET(CPACK_NSIS_URL_INFO_ABOUT ${WEBSITE}) +elseif(APPLE) + set(CPACK_GENERATOR DRAGNDROP) ELSE() SET(CPACK_GENERATOR TGZ) ENDIF()