Skip to content

Commit 1da36c0

Browse files
committed
fix the condition: !(win32 & SYCL)
1 parent 3516fd9 commit 1da36c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml/src/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1166,7 +1166,7 @@ target_link_libraries(ggml PRIVATE Threads::Threads ${GGML_EXTRA_LIBS})
11661166

11671167
find_library(MATH_LIBRARY m)
11681168
if (MATH_LIBRARY)
1169-
if (NOT WIN32 AND GGML_SYCL)
1169+
if (NOT WIN32 OR NOT GGML_SYCL)
11701170
target_link_libraries(ggml PRIVATE ${MATH_LIBRARY})
11711171
endif()
11721172
endif()

0 commit comments

Comments
 (0)