aboutsummaryrefslogtreecommitdiff
path: root/ports/paraview/remove_duplicates.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ports/paraview/remove_duplicates.patch')
-rw-r--r--ports/paraview/remove_duplicates.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/ports/paraview/remove_duplicates.patch b/ports/paraview/remove_duplicates.patch
new file mode 100644
index 000000000..4ea223e3f
--- /dev/null
+++ b/ports/paraview/remove_duplicates.patch
@@ -0,0 +1,14 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index b7101666c..ebac50016 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -592,6 +592,9 @@ set(_paraview_add_tests_default_data_directory
+ set(_paraview_add_tests_default_test_data_target
+ "ParaViewData")
+
++list(REMOVE_DUPLICATES vtk_modules) # Missed this somewhere
++list(REMOVE_DUPLICATES paraview_modules) # probably not needed
++
+ vtk_module_build(
+ MODULES ${paraview_modules}
+ KITS ${paraview_kits}