Skip to content

Commit

Permalink
fix: build error on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
MarinZoom committed Jan 25, 2024
1 parent 5829ca1 commit aa29504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC" OR CMAKE_CXX_COMPILER_FRONTEND_VARIANT
add_compile_options("/utf-8" "/W4" "/WX" "/Zc:preprocessor")
else()
add_compile_options("-Wall;-Wextra;-Wpedantic;-Werror;-mtune=native")
if(CMAKE_CXX_COMPILER_FRONTEND_VARIANT MATCHES "Clang")
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options("-Wno-gnu-zero-variadic-macro-arguments")
endif()
if(CMAKE_SYSTEM_PROCESSOR MATCHES "AMD64|EM64T|x86_64")
Expand Down

0 comments on commit aa29504

Please sign in to comment.