vtk/bundled_libharu_add_missing_libm.patch
Stefan Brüns fda6a9a47f - Add bcond for mysql, keep it disabled by default. Make libmysql
devel dependency conditional.
- Remove obsolete netcdf-c++ dependency from devel package.

OBS-URL: https://build.opensuse.org/package/show/science/vtk?expand=0&rev=200
2025-01-05 17:15:24 +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
# =======================================================================