Skip to content

Commit

Permalink
ggml : link MATH_LIBRARY not by its full path (#9339)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xarbirus authored Sep 16, 2024
1 parent d54c21d commit a6a3a5c
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
@@ -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()

0 comments on commit a6a3a5c

Please sign in to comment.