diff options
-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 .. |