Skip to content

Commit

Permalink
ggml: link MATH_LIBRARY not by its full path
Browse files Browse the repository at this point in the history
  • Loading branch information
Xarbirus committed Sep 13, 2024
1 parent fb8f142 commit 1b7c82f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ggml/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1346,7 +1346,7 @@ target_link_libraries(ggml PRIVATE Threads::Threads ${GGML_EXTRA_LIBS})
find_library(MATH_LIBRARY m)
if (MATH_LIBRARY)
if (NOT WIN32 OR NOT GGML_SYCL)
target_link_libraries(ggml PRIVATE ${MATH_LIBRARY})
target_link_libraries(ggml PRIVATE m)
endif()
endif()

Expand Down

0 comments on commit 1b7c82f

Please sign in to comment.