summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-11-06 19:13:28 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2012-11-06 19:13:28 (GMT)
commitb24ebfa1570275929c047c2fcac3f358f926c8ca (patch)
treeec059e03243327b93fff255f7d08cd190e8cd944 /Modules
parenta574752f8471dbbc7701afa37c895538a201082c (diff)
parent89256e03cf641b0dc4984303c41f9927291a8b99 (diff)
downloadCMake-b24ebfa1570275929c047c2fcac3f358f926c8ca.zip
CMake-b24ebfa1570275929c047c2fcac3f358f926c8ca.tar.gz
CMake-b24ebfa1570275929c047c2fcac3f358f926c8ca.tar.bz2
Merge topic 'fix-13600-better-framework-regex'
89256e0 BundleUtilities: Use a more inclusive REGEX for frameworks (#13600)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/BundleUtilities.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/BundleUtilities.cmake b/Modules/BundleUtilities.cmake
index 4557be6..0f6cd05 100644
--- a/Modules/BundleUtilities.cmake
+++ b/Modules/BundleUtilities.cmake
@@ -369,7 +369,7 @@ function(set_bundle_key_values keys_var context item exepath dirs copyflag)
# For frameworks, construct the name under the embedded path from the
# opening "${item_name}.framework/" to the closing "/${item_name}":
#
- string(REGEX REPLACE "^.*(${item_name}.framework/.*/${item_name}).*$" "${default_embedded_path}/\\1" embedded_item "${item}")
+ string(REGEX REPLACE "^.*(${item_name}.framework/.*/?${item_name}).*$" "${default_embedded_path}/\\1" embedded_item "${item}")
else()
# For other items, just use the same name as the original, but in the
# embedded path: