summaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2012-01-11 10:18:07 +0000
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2012-01-11 10:18:07 +0000
commit0e7529c272834609fdb431e4e2708ccdcf7032e4 (patch)
treea2c37d7fee8ca11a52b407ec81c2891666c38feb /CMake
parentc9986d1b783206892640915e5151902800130cd5 (diff)
Start playing with bundle generator
Diffstat (limited to 'CMake')
-rw-r--r--CMake/OpenJPEGCPack.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMake/OpenJPEGCPack.cmake b/CMake/OpenJPEGCPack.cmake
index 0e535e5e..221f8282 100644
--- a/CMake/OpenJPEGCPack.cmake
+++ b/CMake/OpenJPEGCPack.cmake
@@ -22,5 +22,8 @@ if(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")
set(CPACK_PACKAGE_INSTALL_DIRECTORY "OpenJPEG ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}")
set(CPACK_SOURCE_PACKAGE_FILE_NAME "openjpeg-${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
+ set(MACOSX_BUNDLE_ICON_FILE opj_logo.icns)
+ set(CPACK_BUNDLE_NAME "BundleGeneratorTest")
+
include(CPack)
endiF(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")