Explorar o código

Merge topic 'BundleUtilities-dylib-in-framework'

3906ca5a BundleUtilities: Fix regression handling frameworks
Brad King %!s(int64=10) %!d(string=hai) anos
pai
achega
8256d021c8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Modules/BundleUtilities.cmake

+ 1 - 1
Modules/BundleUtilities.cmake

@@ -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}":
       #
       #