Skip to content

Commit 2c79721

Browse files
committed
Silence verbose warnings
1 parent 4482516 commit 2c79721

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ggml/src/ggml-sycl/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ if (NOT oneMath_FOUND)
9797
# Create alias to match with find_package targets name
9898
function(onemath_alias target)
9999
if (TARGET ${target})
100+
# Silence verbose warnings from external libraries
101+
target_compile_options(${target} PRIVATE -Wno-uninitialized -Wno-unused-parameter -Wno-unused-variable -Wno-cast-qual)
100102
add_library(ONEMATH::${target} ALIAS ${target})
101103
endif()
102104
endfunction()

0 commit comments

Comments
 (0)