Import 2017-06-07 23:51:09: master 0b6d7cd4

Author Committer Branch Timestamp Parent
jcfr jcfr master 2015-02-25 14:00:33 master 91f72128
Affected Issues 0003965: Qt frameworks not installed correctly in Slicer.app to allow code signing
Changeset

ENH: BundleUtilities: Framework codesign Resources/Info.plist & Current

See Slicer issue 0003965

This commit integrates the upstream change kitware/cmake@83a06bb

//------------
Author: Adam Strzelecki <ono@java.pl> 2014-09-04 09:01:17
Committer: Brad King <brad.king@kitware.com> 2014-10-10 10:17:04

BundleUtilities: Framework codesign Resources/Info.plist & Current

We need to ensure copied framework has proper layout with Resources/Info.plist
present next to versioned binary and Current symlink in Versions:

https://developer.apple.com/library/mac/technotes/tn2206

https://developer.apple.com/library/mac/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/FrameworkAnatomy.html

If Resources/ is not present we may try to copy Contents/Info.plist if present
to embedded Resources/Info.plist. This is a case of Qt5 that has
obsolete/invalid framework layout (see QTBUG-38511).

//------------

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23989 3bd1e089-480b-0410-8dfb-8563597acbee

mod - CMake/BundleUtilitiesWithRPath.cmake Diff File