Fix full path to icns file

This commit is contained in:
Mathieu Malaterre 2012-01-11 12:46:23 +00:00
parent 5dfadb2eb1
commit 6b43ba091e
1 changed files with 1 additions and 1 deletions

View File

@ -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_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(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") set(CPACK_BUNDLE_NAME "BundleGeneratorTest")
configure_file(${CMAKE_ROOT}/Templates/AppleInfo.plist configure_file(${CMAKE_ROOT}/Templates/AppleInfo.plist
${CMAKE_CURRENT_BINARY_DIR}/opj.plist) ${CMAKE_CURRENT_BINARY_DIR}/opj.plist)