Skip to content

Commit 6405ee9

Browse files
authored
fix: build warning on macOS (#377)
1 parent ff02ebd commit 6405ee9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llama/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ execute_process(COMMAND node -p "require('node-addon-api').include.slice(1,-1)"
2424

2525
set(LLAMA_BUILD_COMMON ON)
2626

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

0 commit comments

Comments
 (0)