This is an automated email from the ASF dual-hosted git repository.
xyz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-client-cpp.git
The following commit(s) were added to refs/heads/main by this push:
new 00c4daa Fix apple build (#562)
00c4daa is described below
commit 00c4daabc640cb56336776fed6e1f5c74c5f147d
Author: Daeho Ro <[email protected]>
AuthorDate: Wed Apr 1 12:28:17 2026 +0900
Fix apple build (#562)
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b4f66c1..4b8a78a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -99,7 +99,7 @@ else() # GCC or Clang are mostly compatible:
add_compile_options(-Wall -Wformat-security -Wvla -Werror)
# Turn off certain warnings that are too much pain for too little gain:
add_compile_options(-Wno-sign-compare -Wno-deprecated-declarations
-Wno-error=cpp)
- if (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR APPLE)
+ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64")
add_compile_options(-msse4.2 -mpclmul)
endif()
# Options unique to Clang or GCC: