File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,12 @@ if(CDAT_BUILD_OFFSCREEN)
7373 )
7474endif ()
7575
76+ if (CDAT_BUILD_WEB)
77+ list (APPEND vtk_build_args
78+ "-DVTK_Group_Web:BOOL=ON"
79+ )
80+ endif ()
81+
7682set (_vtk_module_options)
7783foreach (_module ${_vtk_modules} )
7884 list (APPEND _vtk_module_options "-DModule_${_module} :BOOL=ON" )
Original file line number Diff line number Diff line change @@ -260,6 +260,9 @@ include(CMakeDependentOption)
260260cmake_dependent_option (CDAT_BUILD_OFFSCREEN "Use OSMesa for offscreen rendering." OFF
261261 "NOT APPLE" OFF )
262262
263+ # Option to enable vtkweb for cdatweb
264+ option (CDAT_BUILD_WEB "Build in Web support (VTKWeb, etc.)" OFF )
265+
263266# Option to choose between easy_install and pip (crunchy ssl/man in the middle prevents us to use pip here...
264267set (EGG_INSTALLER "PIP" CACHE STRING "Which package installer to use" )
265268set_property (CACHE EGG_INSTALLER PROPERTY STRINGS "PIP" "EASY_INSTALL" )
You can’t perform that action at this time.
0 commit comments