From: Mathieu Malaterre Date: Wed, 11 Jan 2012 12:46:23 +0000 (+0000) Subject: Fix full path to icns file X-Git-Tag: version.1.5~56 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6b43ba091eef5da92c43de9165806c8751b24e8c;p=openjpeg Fix full path to icns file --- diff --git a/CMake/OpenJPEGCPack.cmake b/CMake/OpenJPEGCPack.cmake index b836bcb8..e174e5b7 100644 --- a/CMake/OpenJPEGCPack.cmake +++ b/CMake/OpenJPEGCPack.cmake @@ -22,7 +22,7 @@ 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_ICON "${CMAKE_CURRENT_SOURCE_DIR}/CMake/opj_logo.icns") set(CPACK_BUNDLE_NAME "BundleGeneratorTest") configure_file(${CMAKE_ROOT}/Templates/AppleInfo.plist ${CMAKE_CURRENT_BINARY_DIR}/opj.plist)