Skip to content

Commit f8411f4

Browse files
committed
fix the condition: !(win32 & SYCL)
1 parent 34fce9d commit f8411f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml/src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1168,7 +1168,7 @@ target_link_libraries(ggml PRIVATE Threads::Threads ${GGML_EXTRA_LIBS})
11681168

11691169
find_library(MATH_LIBRARY m)
11701170
if (MATH_LIBRARY)
1171-
if (NOT WIN32 AND GGML_SYCL)
1171+
if (NOT WIN32 OR NOT GGML_SYCL)
11721172
target_link_libraries(ggml PRIVATE ${MATH_LIBRARY})
11731173
endif()
11741174
endif()

0 commit comments

Comments
 (0)