Start playing with bundle generator
authorMathieu Malaterre <mathieu.malaterre@gmail.com>
Wed, 11 Jan 2012 10:18:07 +0000 (10:18 +0000)
committerMathieu Malaterre <mathieu.malaterre@gmail.com>
Wed, 11 Jan 2012 10:18:07 +0000 (10:18 +0000)
CMake/OpenJPEGCPack.cmake

index 0e535e5e2f86115a1fc50f405599bce9fd46b864..221f828224845fcd2dddb30ccae4ddec4782f778 100644 (file)
@@ -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")