Commit ede0b3db authored by Haocheng LIU's avatar Haocheng LIU Committed by Kitware Robot

Merge topic 'move-smtk-doc-flag-to-top-CMakeLists'

b504e50c Move enable smtk documentation flag to top level CMakeLists.txt
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: T.J. Corona's avatarT.J. Corona <tj.corona@kitware.com>
Merge-request: !474
parents d90d8d90 b504e50c
Pipeline #127502 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