Commit b504e50c authored by Haocheng LIU's avatar Haocheng LIU

Move enable smtk documentation flag to top level CMakeLists.txt

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