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 16, 2024
1 parent 5c3d0f1 commit 603a3f8
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 @@ -1341,7 +1341,7 @@ list(APPEND GGML_EXTRA_LIBS_PRIVATE Threads::Threads)
find_library(MATH_LIBRARY m)
if (MATH_LIBRARY)
if (NOT WIN32 OR NOT GGML_SYCL)
target_link_libraries(ggml PRIVATE ${MATH_LIBRARY})
list(APPEND GGML_EXTRA_LIBS_PRIVATE m)
endif()
endif()

Expand Down

0 comments on commit 603a3f8

Please sign in to comment.