Commit b504e50c authored by Haocheng LIU's avatar Haocheng LIU

Move enable smtk documentation flag to top level CMakeLists.txt

parent 31f35a35
Pipeline #127476 running with stage
......@@ -115,10 +115,12 @@ function (superbuild_find_projects var)
pywin32)
endif ()
if (NOT DEVELOPER_MODE_smtk)
list(APPEND projects
smtkresourcemanagerstate)
if (NOT DEVELOPER_MODE_smtk)
list(APPEND projects
smtkresourcemanagerstate)
endif ()
# For now it's a convenient option to control smtk documentation
option(ENABLE_DOCUMENTATION "Enable smtk documentation" ON)
option(USE_NONFREE_COMPONENTS "Enable the non-free parts of the superbuild" OFF)
mark_as_advanced(USE_NONFREE_COMPONENTS)
......
......@@ -20,10 +20,8 @@ if (vtkonly_enabled OR paraview_enabled)
set(smtk_enable_vtk ON)
endif ()
# A convenient option to control smtk documentation
option(ENABLE_SMTK_DOCUMENTATION "Enable smtk documentation" ON)
set (enable_smtk_doc always)
if (NOT ENABLE_SMTK_DOCUMENTATION)
if (NOT ENABLE_DOCUMENTATION)
set (enable_smtk_doc never)
endif()
......
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