From 3906ca5af4ade1c8f57e4067b07fb03a305dd39d Mon Sep 17 00:00:00 2001 From: Clinton Stimpson Date: Tue, 1 Mar 2016 15:48:14 -0700 Subject: [PATCH] BundleUtilities: Fix regression handling frameworks Fix logic error introduced in commit e422f738 (BundleUtilities: Fix treatment of .dylib inside .framework folders, 2016-02-11). --- Modules/BundleUtilities.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/BundleUtilities.cmake b/Modules/BundleUtilities.cmake index 73ff0af85..4b52afa78 100644 --- a/Modules/BundleUtilities.cmake +++ b/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) - 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 # opening "${item_name}.framework/" to the closing "/${item_name}": #