vcpkg/ports/paraview/add-tools-option.patch
2020-06-29 23:31:08 -07:00

16 lines
372 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8b33b25..10cadda 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -730,7 +730,10 @@ if (PARAVIEW_ENABLE_WEB)
@ONLY)
endif ()
+option(PARAVIEW_BUILD_TOOLS "Build paraview tools" OFF)
+if (PARAVIEW_BUILD_TOOLS)
add_subdirectory(Clients)
+endif()
if (PARAVIEW_USE_PYTHON)
add_subdirectory(Wrapping/Python)