diff options
author | Christoph Willing <chris.willing@linux.com> | 2021-05-19 12:04:46 +1000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-19 18:39:56 +0700 |
commit | 2b1a22e5c8322f2e47d0cb5c41c6812829eaaa48 (patch) | |
tree | 52d661f9e55be9a4013f92d37d3809f59511fbb8 /graphics | |
parent | 50c303e503d522200b493d9684b53b0c156fae42 (diff) |
graphics/OpenCASCADE: Modify for latest VTK
Signed-off-by: Christoph Willing <chris.willing@linux.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/OpenCASCADE/OpenCASCADE.SlackBuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/OpenCASCADE/OpenCASCADE.SlackBuild b/graphics/OpenCASCADE/OpenCASCADE.SlackBuild index c9336eb31a5e8..808826309059c 100644 --- a/graphics/OpenCASCADE/OpenCASCADE.SlackBuild +++ b/graphics/OpenCASCADE/OpenCASCADE.SlackBuild @@ -26,7 +26,7 @@ PRGNAM=OpenCASCADE VERSION=${VERSION:-7.3.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} SRCNAM=occt @@ -102,7 +102,10 @@ cd build -DUSE_GL2PS=${WITH_GL2PS:-OFF} \ -DUSE_TBB=${WITH_TBB:-OFF} \ -DUSE_VTK=ON \ + -D3RDPARTY_VTK_INCLUDE_DIR=/usr/include/vtk-9.0 \ + -D3RDPARTY_VTK_LIBRARY_DIR=/usr/lib${LIBDIRSUFFIX} \ -DCMAKE_BUILD_TYPE=Release .. + find . -name link.txt -exec sed -i s/vtkRenderingOpenGL/vtkRenderingOpenGL2/g {} + make make install DESTDIR=$PKG cd .. |