pineapple/externals/vcpkg/ports/paraview/add-tools-option.patch
2022-07-23 03:01:36 +02:00

15 lines
372 B
Diff
Executable file

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)