From: fahed Date: Thu, 30 Jan 2014 14:39:31 +0000 (+0000) Subject: Correction to allow PARAVIS compilation using paraview 3.98 X-Git-Tag: V7_4_0a1~3^2~16 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f602d30708f89aeda510e4655a58e70e46621a65;p=modules%2Fkernel.git Correction to allow PARAVIS compilation using paraview 3.98 --- diff --git a/salome_adm/cmake_files/FindSalomeVTK.cmake b/salome_adm/cmake_files/FindSalomeVTK.cmake index 5da0b9638..5d561f18c 100644 --- a/salome_adm/cmake_files/FindSalomeVTK.cmake +++ b/salome_adm/cmake_files/FindSalomeVTK.cmake @@ -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()