You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by if...@apache.org on 2021/03/26 01:10:19 UTC
[rocketmq-client-cpp] branch re_dev updated: fix:
bundle_static_library for apple clang
This is an automated email from the ASF dual-hosted git repository.
ifplusor pushed a commit to branch re_dev
in repository https://gitbox.apache.org/repos/asf/rocketmq-client-cpp.git
The following commit(s) were added to refs/heads/re_dev by this push:
new 112f09f fix: bundle_static_library for apple clang
112f09f is described below
commit 112f09f1bdace8a55fcbc64873554c7139da00e2
Author: James Yin <yw...@hotmail.com>
AuthorDate: Fri Mar 26 09:09:31 2021 +0800
fix: bundle_static_library for apple clang
---
cmake/BundleStaticLibrary.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmake/BundleStaticLibrary.cmake b/cmake/BundleStaticLibrary.cmake
index 782eec4..04659db 100644
--- a/cmake/BundleStaticLibrary.cmake
+++ b/cmake/BundleStaticLibrary.cmake
@@ -69,7 +69,7 @@ function(bundle_static_library tgt_name bundled_tgt_name)
${LIBRARY_OUTPUT_PATH}/${CMAKE_STATIC_LIBRARY_PREFIX}${bundled_tgt_name}${CMAKE_STATIC_LIBRARY_SUFFIX}
)
- if(CMAKE_CXX_COMPILER_ID MATCHES "^(Clang|GNU)$")
+ if(CMAKE_CXX_COMPILER_ID MATCHES "^(AppleClang|Clang|GNU)$")
file(WRITE ${CMAKE_BINARY_DIR}/${bundled_tgt_name}.mri.in
"CREATE ${bundled_tgt_full_name}\n")