]> git.pld-linux.org Git - packages/vtk.git/commitdiff
- vtkNetCDF needs -lm for pow
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 15 Nov 2012 16:04:30 +0000 (17:04 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 15 Nov 2012 16:04:30 +0000 (17:04 +0100)
vtk-vtknetcdf-lm.patch [new file with mode: 0644]

diff --git a/vtk-vtknetcdf-lm.patch b/vtk-vtknetcdf-lm.patch
new file mode 100644 (file)
index 0000000..83799d4
--- /dev/null
@@ -0,0 +1,10 @@
+--- VTK/Utilities/vtknetcdf/CMakeLists.txt~    2012-04-02 18:57:30.000000000 +0200
++++ VTK/Utilities/vtknetcdf/CMakeLists.txt     2012-11-15 12:48:08.386680992 +0100
+@@ -343,6 +343,7 @@
+      TARGET_LINK_LIBRARIES(vtkNetCDF ${VTK_HDF5_LIBRARIES})
+   endif()
+ ENDIF (NETCDF_ENABLE_NETCDF4)
++TARGET_LINK_LIBRARIES(vtkNetCDF -lm)
+ VTK_ADD_LIBRARY(vtkNetCDF_cxx ${netcdf_cxx_SOURCES})
+ TARGET_LINK_LIBRARIES(vtkNetCDF_cxx vtkNetCDF)
This page took 0.02451 seconds and 4 git commands to generate.