]> SALOME platform Git repositories - tools/configuration.git/commitdiff
Salome HOME
In ParaView 5.8 libraries can be in lib64 sub-directory
authorvsr <vsr@opencascade.com>
Thu, 27 Feb 2020 08:23:59 +0000 (11:23 +0300)
committervsr <vsr@opencascade.com>
Thu, 27 Feb 2020 08:23:59 +0000 (11:23 +0300)
cmake/FindSalomeVTK.cmake

index 8b31a44f91521e9afbd8419adc8c3cacb943eff5..9454e277285ba61685cfa3012607002f3e75bc84 100644 (file)
@@ -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()