--- 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})