cmake : cont

ggml-ci
This commit is contained in:
Georgi Gerganov 2025-01-12 15:11:52 +02:00
parent e159e7751c
commit 34889bf810
No known key found for this signature in database
GPG key ID: 449E073F9DC10735
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()