vcpkg/ports/paraview/add-tools-option.patch

16 lines
372 B
Diff
Raw Normal View History

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)