From 25a57291fd95adf355f9c3bd98ea506eec9cea87 Mon Sep 17 00:00:00 2001 From: Daeho Ro <40587651+daeho-ro@users.noreply.github.com> Date: Mon, 30 Mar 2026 21:47:34 +0900 Subject: [PATCH] Fix apple build --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b4f66c1c..4b8a78a3 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: