From f602d30708f89aeda510e4655a58e70e46621a65 Mon Sep 17 00:00:00 2001 From: fahed Date: Thu, 30 Jan 2014 14:39:31 +0000 Subject: [PATCH] Correction to allow PARAVIS compilation using paraview 3.98 --- salome_adm/cmake_files/FindSalomeVTK.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.39.2