]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix VTKViewer when compiled with CMake (add missing VTK component)
authorbarate <barate>
Tue, 26 Mar 2013 09:30:13 +0000 (09:30 +0000)
committerbarate <barate>
Tue, 26 Mar 2013 09:30:13 +0000 (09:30 +0000)
adm_local/cmake_files/FindSalomeVTK.cmake

index 0af466192a68e24b94d54e08e4571cc9acc90a54..0f4e3184f4a53f977d765606142a051f35477dc6 100644 (file)
@@ -6,7 +6,7 @@ set(PARAVIEW_VERSION $ENV{PARAVIEW_VERSION} CACHE STRING "Version of Paraview")
 if(EXISTS ${PARAVIEW_ROOT_DIR})
   set(VTK_DIR ${PARAVIEW_ROOT_DIR}/lib/cmake/paraview-${PARAVIEW_VERSION} CACHE PATH "Path to directory including VTKConfig.cmake")
 endif(EXISTS ${PARAVIEW_ROOT_DIR})
-set(VTK_COMPONENTS vtkRenderingOpenGL vtkRenderingLOD vtkRenderingAnnotation vtkFiltersParallel vtkIOExport)
+set(VTK_COMPONENTS vtkRenderingFreeTypeOpenGL vtkRenderingLOD vtkRenderingAnnotation vtkFiltersParallel vtkIOExport)
 find_package(VTK 6.0 REQUIRED COMPONENTS ${VTK_COMPONENTS} NO_MODULE)
 if (VTK_FOUND)
   message(STATUS "VTK version is ${VTK_MAJOR_VERSION}.${VTK_MINOR_VERSION}")