termux-packages/packages/graphviz/CMakeLists.txt.patch

14 lines
295 B
Diff
Raw Normal View History

2021-12-08 12:12:51 +01:00
--- ./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 @@
2021-12-08 10:40:13 +01:00
find_package(ZLIB)
endif()
2021-12-08 12:12:51 +01:00
-if(UNIX)
2021-12-08 10:40:13 +01:00
- find_library(MATH_LIB m)
2021-12-08 12:12:51 +01:00
-endif()
2021-12-08 10:40:13 +01:00
+set(MATH_LIB -lm)
2021-12-08 12:12:51 +01:00
if(WIN32)
2021-12-08 10:40:13 +01:00
# Find Windows specific dependencies