termux-packages/packages/graphviz/CMakeLists.txt.patch
2021-12-08 16:44:57 +05:30

14 lines
295 B
Diff

--- ./CMakeLists.txt.orig 2021-12-08 16:43:22.784370693 +0530
+++ ./CMakeLists.txt 2021-12-08 16:44:08.814370676 +0530
@@ -118,9 +118,7 @@
find_package(ZLIB)
endif()
-if(UNIX)
- find_library(MATH_LIB m)
-endif()
+set(MATH_LIB -lm)
if(WIN32)
# Find Windows specific dependencies