cmake : cont

ggml-ci
This commit is contained in:
Georgi Gerganov
2025-01-12 15:11:52 +02:00
parent e159e7751c
commit 34889bf810
2 changed files with 5 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ function(llama_add_compile_flags)
list(APPEND CXX_FLAGS -Wmissing-declarations -Wmissing-noreturn)
# GCC -Wshadow is way too agressive
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
list(APPEND CXX_FLAGS -Wshadow)
endif()