OSX/cpack: add a dummy bg and ds_store for dmg
authorJens Verwiebe <info@jensverwiebe.de>
Tue, 18 Nov 2014 09:31:22 +0000 (10:31 +0100)
committerJens Verwiebe <info@jensverwiebe.de>
Tue, 18 Nov 2014 09:31:22 +0000 (10:31 +0100)
build_files/cmake/packaging.cmake
release/darwin/SET_DS_Store [new file with mode: 0644]
release/darwin/background.png [new file with mode: 0644]

index 95bbb2b..3f442c0 100644 (file)
@@ -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 (file)
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 (file)
index 0000000..7777ed9
Binary files /dev/null and b/release/darwin/background.png differ