SHA256
1
0
forked from pool/vtk
vtk/bundled_libharu_add_missing_libm.patch
Stefan Brüns cd431f2648 Accepting request 1029883 from home:StefanBruens:branches:science
- Update to version 9.2.2, see:
  https://gitlab.kitware.com/vtk/vtk/-/blob/master/Documentation/release/9.2.md
- Drop upstream patches:
  + 0001-Add-missing-libm-link-library-to-kissfft-module.patch
- Use system libharu on Tumbleweed
- Allow optionally building and running tests (disabled for now
  due to large required data set).

FTBFS on Leap 15.3, but thats EOL in 5 weeks anyway.

OBS-URL: https://build.opensuse.org/request/show/1029883
OBS-URL: https://build.opensuse.org/package/show/science/vtk?expand=0&rev=176
2022-10-20 15:10:02 +00:00

14 lines
537 B
Diff

Index: VTK-9.0.0/ThirdParty/libharu/vtklibharu/CMakeLists.txt
===================================================================
--- VTK-9.0.0.orig/ThirdParty/libharu/vtklibharu/CMakeLists.txt
+++ VTK-9.0.0/ThirdParty/libharu/vtklibharu/CMakeLists.txt
@@ -68,6 +68,8 @@ if(PNG_FOUND)
find_library(M_LIB m)
endif ()
+link_libraries(m)
+
# =======================================================================
# configure header files, add compiler flags
# =======================================================================