summaryrefslogtreecommitdiffstats
path: root/Modules/BundleUtilities.cmake
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2016-03-01 22:48:14 (GMT)
committerBrad King <brad.king@kitware.com>2016-03-07 14:30:18 (GMT)
commit3906ca5af4ade1c8f57e4067b07fb03a305dd39d (patch)
treecd2a27f3bb4327dd5516985eac0e50d9e9aaf4b7 /Modules/BundleUtilities.cmake
parente422f738e4eb27dbf24a0b45d56e0f21a1d45cbc (diff)
downloadCMake-3906ca5af4ade1c8f57e4067b07fb03a305dd39d.zip
CMake-3906ca5af4ade1c8f57e4067b07fb03a305dd39d.tar.gz
CMake-3906ca5af4ade1c8f57e4067b07fb03a305dd39d.tar.bz2
BundleUtilities: Fix regression handling frameworks
Fix logic error introduced in commit e422f738 (BundleUtilities: Fix treatment of .dylib inside .framework folders, 2016-02-11).
Diffstat (limited to 'Modules/BundleUtilities.cmake')
-rw-r--r--Modules/BundleUtilities.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/BundleUtilities.cmake b/Modules/BundleUtilities.cmake
index 73ff0af..4b52afa 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}":
#