From 5de1fc30663ec4c4477365ebed68d577d59456d3 Mon Sep 17 00:00:00 2001 From: Lars Bilke <lars.bilke@ufz.de> Date: Tue, 18 May 2021 11:29:22 +0200 Subject: [PATCH] [cpm] Fixed config errors in VTK due to OPTIONS scope. --- scripts/cmake/Dependencies.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/cmake/Dependencies.cmake b/scripts/cmake/Dependencies.cmake index 7e0c97866a5..a011bdb33b3 100644 --- a/scripts/cmake/Dependencies.cmake +++ b/scripts/cmake/Dependencies.cmake @@ -376,6 +376,10 @@ else() list(APPEND VTK_OPTIONS "Module_${comp} ON") endforeach() + # Workaround for configuration error in [vtk]/CMake/vtkGroups.cmake:43 + set(VTK_Group_Rendering OFF CACHE BOOL "") + set(VTK_Group_StandAlone OFF CACHE BOOL "") + CPMAddPackage( NAME VTK GITHUB_REPOSITORY kitware/vtk -- GitLab