Merge topic 'BundleUtilities-dylib-in-framework'

e422f738 BundleUtilities: Fix treatment of .dylib inside .framework folders
This commit is contained in:
Brad King 2016-02-12 09:03:57 -05:00 committed by CMake Topic Stage
commit 86d2f32525
1 changed files with 1 additions and 1 deletions

View File

@ -479,7 +479,7 @@ function(set_bundle_key_values keys_var context item exepath dirs copyflag)
get_item_rpaths("${resolved_item}" item_rpaths)
if(item MATCHES "[^/]+\\.framework/")
if((item NOT MATCHES "\\.dylib$") AND (item MATCHES "[^/]+\\.framework/"))
# For frameworks, construct the name under the embedded path from the
# opening "${item_name}.framework/" to the closing "/${item_name}":
#