From 53619a48827abd071aa0172c51e73a073915c369 Mon Sep 17 00:00:00 2001 From: Alex Reinking Date: Tue, 3 Dec 2024 13:23:22 -0500 Subject: [PATCH] Fix Apple libtool detection in bundle_static (#8495) --- cmake/BundleStatic.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/BundleStatic.cmake b/cmake/BundleStatic.cmake index 0357e584d011..dec8a901c222 100644 --- a/cmake/BundleStatic.cmake +++ b/cmake/BundleStatic.cmake @@ -24,7 +24,7 @@ endfunction() function(_bundle_static_is_apple_libtool result_var item) _bundle_static_check_output(version_info "${item}" -V) - if (NOT version_info MATCHES "Apple, Inc.") + if (NOT version_info MATCHES "Apple,? Inc\\.") set(${result_var} 0 PARENT_SCOPE) endif () endfunction()