Skip to content

Commit

Permalink
fix: build warning on macOS (#377)
Browse files Browse the repository at this point in the history
  • Loading branch information
giladgd authored Oct 31, 2024
1 parent ff02ebd commit 6405ee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llama/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ execute_process(COMMAND node -p "require('node-addon-api').include.slice(1,-1)"

set(LLAMA_BUILD_COMMON ON)

if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang")
add_compile_options(-Wno-c++17-extensions)
endif()

Expand Down

0 comments on commit 6405ee9

Please sign in to comment.