pineapple-src/externals/vcpkg/ports/paraview/add-tools-option.patch

16 lines
372 B
Diff
Raw Normal View History

2022-07-22 21:01:36 -04:00
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)