We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64b5a14 commit bc851c8Copy full SHA for bc851c8
ggml/src/ggml-sycl/CMakeLists.txt
@@ -100,9 +100,11 @@ if (NOT oneMath_FOUND)
100
FetchContent_MakeAvailable(ONEMATH)
101
# Create alias to match with find_package targets name
102
function(onemath_alias target)
103
- if (TARGET ${target})
+ if (TARGET ${target}_obj)
104
# Silence verbose warnings from external libraries
105
- target_compile_options(${target} PRIVATE -Wno-uninitialized -Wno-unused-parameter -Wno-unused-variable -Wno-cast-qual)
+ target_compile_options(${target}_obj PRIVATE -w)
106
+ endif()
107
+ if (TARGET ${target})
108
add_library(ONEMATH::${target} ALIAS ${target})
109
endif()
110
endfunction()
0 commit comments