summaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2012-01-11 11:38:39 +0000
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2012-01-11 11:38:39 +0000
commit30944454de3e3216739e9c2653f927de1fdc311d (patch)
treeafcce246a3c82d01c194005165221ca926ed4956 /CMake
parent0e7529c272834609fdb431e4e2708ccdcf7032e4 (diff)
Add missing plist file
Diffstat (limited to 'CMake')
-rw-r--r--CMake/OpenJPEGCPack.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMake/OpenJPEGCPack.cmake b/CMake/OpenJPEGCPack.cmake
index 221f8282..b836bcb8 100644
--- a/CMake/OpenJPEGCPack.cmake
+++ b/CMake/OpenJPEGCPack.cmake
@@ -24,6 +24,10 @@ if(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")
set(MACOSX_BUNDLE_ICON_FILE opj_logo.icns)
set(CPACK_BUNDLE_NAME "BundleGeneratorTest")
+ configure_file(${CMAKE_ROOT}/Templates/AppleInfo.plist
+ ${CMAKE_CURRENT_BINARY_DIR}/opj.plist)
+ SET(CPACK_BUNDLE_PLIST
+ ${CMAKE_CURRENT_BINARY_DIR}/opj.plist)
include(CPack)
endiF(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")