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 19ecca1 commit ab82cad
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 @@ -1339,7 +1339,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 ab82cad

Please sign in to comment.