]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
CMake: Edition accumulation of LD_LIBRARY_PATH and PATH
authormpa <mpa@opencascade.com>
Thu, 31 Oct 2013 06:14:09 +0000 (06:14 +0000)
committermpa <mpa@opencascade.com>
Thu, 31 Oct 2013 06:14:09 +0000 (06:14 +0000)
salome_adm/cmake_files/FindSalomeVTK.cmake

index 24fe201c3a9205959b9445d976451fbfca319e70..49454c0cc4e74f907a9c21689ebe931aa0de7ac3 100644 (file)
@@ -61,10 +61,7 @@ ENDIF()
 
 IF(VTK_FOUND) 
   SALOME_ACCUMULATE_HEADERS(VTK_INCLUDE_DIRS)
-  SALOME_ACCUMULATE_ENVIRONMENT(PATH ${PARAVIEW_ROOT_DIR}/bin)
-  SALOME_ACCUMULATE_ENVIRONMENT(LD_LIBRARY_PATH ${PARAVIEW_ROOT_DIR}/lib/paraview-3.98)
-  SALOME_ACCUMULATE_ENVIRONMENT(PYTHONPATH ${PARAVIEW_ROOT_DIR}/lib/paraview-3.98
-                                           ${PARAVIEW_ROOT_DIR}/lib/paraview-3.98/site-packages
-                                           ${PARAVIEW_ROOT_DIR}/lib/paraview-3.98/site-packages/paraview)
-  SALOME_ACCUMULATE_ENVIRONMENT(PV_PLUGIN_PATH ${PARAVIEW_ROOT_DIR}/lib/paraview-3.98)
+  SALOME_ACCUMULATE_ENVIRONMENT(LD_LIBRARY_PATH ${VTK_LIBRARIES})
+  SALOME_ACCUMULATE_ENVIRONMENT(PYTHONPATH ${VTK_LIBRARIES})
+  SALOME_ACCUMULATE_ENVIRONMENT(PV_PLUGIN_PATH ${VTK_LIBRARIES})
 ENDIF()