BundleUtilities: Fix regression handling frameworks
Fix logic error introduced in commit e422f738
(BundleUtilities: Fix
treatment of .dylib inside .framework folders, 2016-02-11).
This commit is contained in:
parent
e422f738e4
commit
3906ca5af4
|
@ -479,7 +479,7 @@ function(set_bundle_key_values keys_var context item exepath dirs copyflag)
|
||||||
|
|
||||||
get_item_rpaths("${resolved_item}" item_rpaths)
|
get_item_rpaths("${resolved_item}" item_rpaths)
|
||||||
|
|
||||||
if((item NOT MATCHES "\\.dylib$") AND (item MATCHES "[^/]+\\.framework/"))
|
if((NOT item MATCHES "\\.dylib$") AND (item MATCHES "[^/]+\\.framework/"))
|
||||||
# For frameworks, construct the name under the embedded path from the
|
# For frameworks, construct the name under the embedded path from the
|
||||||
# opening "${item_name}.framework/" to the closing "/${item_name}":
|
# opening "${item_name}.framework/" to the closing "/${item_name}":
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue