science/paraview: fix build against pdal 2.6.3
This commit is contained in:
parent
4514eec41a
commit
bf09746b74
@ -1,6 +1,6 @@
|
||||
PORTNAME= paraview
|
||||
DISTVERSION= ${PARAVIEW_VER}.2
|
||||
PORTREVISION= 6
|
||||
PORTREVISION= 7
|
||||
CATEGORIES= science graphics
|
||||
MASTER_SITES= http://www.paraview.org/files/v${PARAVIEW_VER}/
|
||||
DISTNAME= ParaView-v${PORTVERSION}
|
||||
@ -38,7 +38,7 @@ LIB_DEPENDS= libhdf5.so:science/hdf5 \
|
||||
libgeos.so:graphics/geos \
|
||||
libhpdf.so:print/libharu \
|
||||
libproj.so:graphics/proj \
|
||||
libpdal_base.so:math/pdal \
|
||||
libpdalcpp.so:math/pdal \
|
||||
libdrm.so:graphics/libdrm \
|
||||
libcgns.so:science/cgnslib \
|
||||
liblz4.so:archivers/liblz4 \
|
||||
|
||||
18
science/paraview/files/patch-VTK_IO_PDAL_CMakeLists.txt
Normal file
18
science/paraview/files/patch-VTK_IO_PDAL_CMakeLists.txt
Normal file
@ -0,0 +1,18 @@
|
||||
--- VTK/IO/PDAL/CMakeLists.txt.orig 2024-02-22 20:32:51 UTC
|
||||
+++ VTK/IO/PDAL/CMakeLists.txt
|
||||
@@ -3,14 +3,7 @@ set(classes
|
||||
set(classes
|
||||
vtkPDALReader)
|
||||
|
||||
-set(pdal_libraries pdal_util)
|
||||
-if (APPLE OR WIN32)
|
||||
- list(APPEND pdal_libraries
|
||||
- pdalcpp)
|
||||
-else()
|
||||
- list(APPEND pdal_libraries
|
||||
- pdal_base)
|
||||
-endif()
|
||||
+set(pdal_libraries pdalcpp)
|
||||
|
||||
vtk_module_add_module(VTK::IOPDAL
|
||||
CLASSES ${classes})
|
||||
Loading…
x
Reference in New Issue
Block a user