From 20007a24ea6d61300c3f44c402fa37831f72670b Mon Sep 17 00:00:00 2001 From: Alex Reinking Date: Tue, 3 Dec 2024 13:21:11 -0500 Subject: [PATCH] Fix Apple libtool detection in bundle_static At some point, Apple changed their `libtool -V` output to exclude the comma. --- 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()