From: mpa Date: Thu, 31 Oct 2013 06:14:09 +0000 (+0000) Subject: CMake: Edition accumulation of LD_LIBRARY_PATH and PATH X-Git-Tag: BR_hydro_v_0_3_1~37 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f90538065891d9ad7a2c9afbde4ab94fe2601b12;p=modules%2Fkernel.git CMake: Edition accumulation of LD_LIBRARY_PATH and PATH --- diff --git a/salome_adm/cmake_files/FindSalomeVTK.cmake b/salome_adm/cmake_files/FindSalomeVTK.cmake index 24fe201c3..49454c0cc 100644 --- a/salome_adm/cmake_files/FindSalomeVTK.cmake +++ b/salome_adm/cmake_files/FindSalomeVTK.cmake @@ -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()