Commit d719b279 authored by Ben Boeckel's avatar Ben Boeckel
Browse files

paraview, vtkonly: make las optional

parent e30758f5
Pipeline #222128 waiting for manual action with stages
......@@ -49,13 +49,12 @@ superbuild_add_project(paraview
boost
freetype
gdal
las
png
qt5
zlib
netcdf
DEPENDS_OPTIONAL
cxx11 hdf5 paraviewweb protobuf
cxx11 hdf5 paraviewweb protobuf las
python3
CMAKE_ARGS
-DPARAVIEW_BUILD_SHARED_LIBS:BOOL=ON
......@@ -86,7 +85,7 @@ superbuild_add_project(paraview
-DVTK_MODULE_ENABLE_VTK_RenderingGL2PSOpenGL2:STRING=YES
-DVTK_MODULE_ENABLE_VTK_DomainsChemistryOpenGL2:STRING=YES
-DPARAVIEW_ENABLE_GDAL:BOOL=ON
-DPARAVIEW_ENABLE_LAS:BOOL=ON
-DPARAVIEW_ENABLE_LAS:BOOL=${las_enabled}
# CMB needs to specify external plugins so that we can let paraview
# properly install the plugins. So we sneakily force a variable that is an
......
......@@ -20,6 +20,11 @@ if (python_enabled)
set(vtkonly_python_req YES)
endif ()
set(vtkonly_las_req NO)
if (las_enabled)
set(vtkonly_las_req YES)
endif ()
set(vtk_dll_paths)
if (qt5_dllpath)
list(APPEND vtk_dll_paths
......@@ -37,12 +42,11 @@ superbuild_add_project(vtkonly
DEBUGGABLE
DEPENDS
gdal
las
png
zlib
netcdf
DEPENDS_OPTIONAL
cxx11 freetype libarchive python python2 python3 qt5 hdf5
cxx11 freetype libarchive python python2 python3 qt5 hdf5 las
CMAKE_ARGS
-DBUILD_SHARED_LIBS:BOOL=ON
-DVTK_BUILD_TESTING:BOOL=OFF
......@@ -58,7 +62,7 @@ superbuild_add_project(vtkonly
-DVTK_MODULE_ENABLE_VTK_CommonArchive:STRING=${vtkonly_libarchive_req}
-DVTK_MODULE_ENABLE_VTK_GeovisCore:STRING=YES
-DVTK_MODULE_ENABLE_VTK_IOGDAL:STRING=YES
-DVTK_MODULE_ENABLE_VTK_IOLAS:STRING=YES
-DVTK_MODULE_ENABLE_VTK_IOLAS:STRING=${vtkonly_las_req}
-DVTK_MODULE_ENABLE_VTK_IOParallelExodus:STRING=YES
-DVTK_MODULE_ENABLE_VTK_RenderingContextOpenGL2:STRING=YES
-DVTK_MODULE_ENABLE_VTK_RenderingGL2PSOpenGL2:STRING=YES
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment