Skip to content
Snippets Groups Projects
Commit 69891977 authored by Gigg, Martyn Anthony's avatar Gigg, Martyn Anthony
Browse files

Add a custom Info.plist file for OS X. Refs #5379

This sets the library search path for ParaView before the application
starts and allows the ParaView plugins to pick up the paraview libraries.
parent 6ff0eb71
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>LSEnvironment</key>
<dict>
<key>DYLD_LIBRARY_PATH</key>
<string>@PARAVIEW_APP_LIB_DIR@</string>
</dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>MantidPlot</string>
<key>CFBundleGetInfoString</key>
<string></string>
<key>CFBundleIconFile</key>
<string>MantidPlot.icns</string>
<key>CFBundleIdentifier</key>
<string></string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleLongVersionString</key>
<string></string>
<key>CFBundleName</key>
<string></string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string></string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string></string>
<key>CSResourcesFileMapped</key>
<true/>
<key>LSRequiresCarbon</key>
<true/>
<key>NSHumanReadableCopyright</key>
<string></string>
</dict>
</plist>
......@@ -787,7 +787,17 @@ target_link_libraries ( MantidPlot
${ZLIB_LIBRARIES}
)
###########################################################################
# Custom Info.plist file for OS X
###########################################################################
if( APPLE )
configure_file ( ${CMAKE_CURRENT_SOURCE_DIR}/../Installers/MacInstaller/Info.plist
${CMAKE_CURRENT_BINARY_DIR}/Info.plist
@ONLY )
set_target_properties( MantidPlot PROPERTIES MACOSX_BUNDLE_INFO_PLIST
${CMAKE_CURRENT_BINARY_DIR}/Info.plist )
endif()
###########################################################################
# Entry point flag for Windows to ensure we always link to standard main
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment