paraview/fix-libharu-missing-m.patch

14 lines
585 B
Diff
Raw Normal View History

Index: ParaView-v5.11.0/VTK/ThirdParty/libharu/vtklibharu/CMakeLists.txt
===================================================================
--- ParaView-v5.11.0.orig/VTK/ThirdParty/libharu/vtklibharu/CMakeLists.txt
+++ ParaView-v5.11.0/VTK/ThirdParty/libharu/vtklibharu/CMakeLists.txt
@@ -68,6 +68,8 @@ find_package(PNG)
find_library(M_LIB m)
endif ()
+link_libraries(m dl pthread)
+
# =======================================================================
# configure header files, add compiler flags
# =======================================================================