Skip to content

Commit

Permalink
ggml : link MATH_LIBRARY not by its full path (ggerganov#9339)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xarbirus authored and arthw committed Nov 15, 2024
1 parent eedfd8f commit dd567b4
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 dd567b4

Please sign in to comment.