Commit: 5f7b273236fc09ad4752529b964e0e1d6c681979
Author: Jens Verwiebe
Date:   Tue Nov 18 10:31:22 2014 +0100
Branches: master
https://developer.blender.org/rB5f7b273236fc09ad4752529b964e0e1d6c681979

OSX/cpack: add a dummy bg and ds_store for dmg

===================================================================

M       build_files/cmake/packaging.cmake
A       release/darwin/SET_DS_Store
A       release/darwin/background.png

===================================================================

diff --git a/build_files/cmake/packaging.cmake 
b/build_files/cmake/packaging.cmake
index 95bbb2b..3f442c0 100644
--- a/build_files/cmake/packaging.cmake
+++ b/build_files/cmake/packaging.cmake
@@ -59,6 +59,8 @@ if(APPLE)
 
        # Libraries are bundled directly
        set(CPACK_COMPONENT_LIBRARIES_HIDDEN TRUE)
+       set(CPACK_DMG_BACKGROUND_IMAGE 
"${CMAKE_SOURCE_DIR}/release/darwin/background.png")
+       set(CPACK_DMG_DS_STORE 
"${CMAKE_SOURCE_DIR}/release/darwin/SET_DS_Store")
 endif()
 
 if(WIN32)
diff --git a/release/darwin/SET_DS_Store b/release/darwin/SET_DS_Store
new file mode 100644
index 0000000..80bc4c2
Binary files /dev/null and b/release/darwin/SET_DS_Store differ
diff --git a/release/darwin/background.png b/release/darwin/background.png
new file mode 100644
index 0000000..7777ed9
Binary files /dev/null and b/release/darwin/background.png differ

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to