From b897f83996da6d796003bf7a32309ae8750093f8 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 27 Feb 2020 11:23:59 +0300 Subject: [PATCH] In ParaView 5.8 libraries can be in lib64 sub-directory --- cmake/FindSalomeVTK.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmake/FindSalomeVTK.cmake b/cmake/FindSalomeVTK.cmake index 8b31a44..9454e27 100644 --- a/cmake/FindSalomeVTK.cmake +++ b/cmake/FindSalomeVTK.cmake @@ -50,6 +50,9 @@ IF(EXISTS "${PARAVIEW_ROOT_DIR}" AND (NOT VTK_ROOT_DIR)) # Extract sub-directory "paraview-x.xx": FILE(GLOB VTK_DIR "${PARAVIEW_ROOT_DIR}/lib/cmake/paraview-[1-9].[0-9]*/vtk") + IF(NOT VTK_DIR) + FILE(GLOB VTK_DIR "${PARAVIEW_ROOT_DIR}/lib64/cmake/paraview-[1-9].[0-9]*/vtk") + ENDIF() MESSAGE(STATUS "Setting VTK_DIR to: ${VTK_DIR}") ENDIF() -- 2.39.2