opnsense-ports/cad/freecad/files/patch-cMake_FreeCAD__Helpers_SetupSalomeSMESH.cmake
Franco Fichtner f403dd80c6 */*: sync with upstream
Taken from: FreeBSD
2024-03-22 08:28:46 +01:00

11 lines
673 B
CMake

--- cMake/FreeCAD_Helpers/SetupSalomeSMESH.cmake.orig 2024-01-10 01:47:25 UTC
+++ cMake/FreeCAD_Helpers/SetupSalomeSMESH.cmake
@@ -26,7 +26,7 @@ macro(SetupSalomeSMESH)
# check which modules are available
if(UNIX OR WIN32)
- find_package(VTK COMPONENTS vtkCommonCore REQUIRED NO_MODULE)
+ find_package(VTK COMPONENTS CommonCore REQUIRED NO_MODULE)
if(${VTK_MAJOR_VERSION} LESS 9)
list(APPEND VTK_COMPONENTS vtkIOMPIParallel vtkParallelMPI vtkhdf5 vtkFiltersParallelDIY2 vtkRenderingCore vtkInteractionStyle vtkRenderingFreeType vtkRenderingOpenGL2)
foreach(_module ${VTK_COMPONENTS})