File fix-libharu-missing-m.patch of Package paraview

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
 # =======================================================================
openSUSE Build Service is sponsored by