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 89c533a commit d3b183fCopy full SHA for d3b183f
ggml/src/CMakeLists.txt
@@ -1400,7 +1400,7 @@ list(APPEND GGML_EXTRA_LIBS_PRIVATE Threads::Threads)
1400
1401
find_library(MATH_LIBRARY m)
1402
if (MATH_LIBRARY)
1403
- if ((NOT WIN32 OR NOT GGML_SYCL) AND NOT CMAKE_GENERATOR MATCHES "Visual Studio*")
+ if (NOT WIN32 OR NOT (GGML_SYCL OR DEFINED ENV{ONEAPI_ROOT}))
1404
list(APPEND GGML_EXTRA_LIBS_PRIVATE m)
1405
endif()
1406
0 commit comments