]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Correction to allow PARAVIS compilation using paraview 3.98
authorfahed <fahed>
Thu, 30 Jan 2014 14:39:31 +0000 (14:39 +0000)
committerfahed <fahed>
Thu, 30 Jan 2014 14:39:31 +0000 (14:39 +0000)
salome_adm/cmake_files/FindSalomeVTK.cmake

index 5da0b9638d1e7228c605b3ed1c89a0a6bb06f92b..5d561f18c61f9c7ee844805bd2369fc869d0b22d 100644 (file)
@@ -50,7 +50,7 @@ IF(EXISTS "${PARAVIEW_ROOT_DIR}" AND (NOT VTK_ROOT_DIR))
   MESSAGE(STATUS "Looking for VTK in the ParaView installation (PARAVIEW_ROOT_DIR exists and VTK_ROOT_DIR is not defined) ...")
   
   # Extract sub-directory "paraview-x.xx":
-  FILE(GLOB VTK_DIR "${PARAVIEW_ROOT_DIR}/lib/cmake/paraview-[1-9].[0-9]")
+  FILE(GLOB VTK_DIR "${PARAVIEW_ROOT_DIR}/lib/cmake/paraview-[1-9].[0-9]*")
   MESSAGE(STATUS "Setting VTK_DIR to: ${VTK_DIR}") 
 ENDIF()