From: vsr Date: Thu, 27 Feb 2020 08:23:59 +0000 (+0300) Subject: In ParaView 5.8 libraries can be in lib64 sub-directory X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b897f83996da6d796003bf7a32309ae8750093f8;p=tools%2Fconfiguration.git In ParaView 5.8 libraries can be in lib64 sub-directory --- 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()