Salome HOME
CMake: Edition accumulation of LD_LIBRARY_PATH, PATH and PYTHONPATH
authormpa <mpa@opencascade.com>
Thu, 31 Oct 2013 11:08:56 +0000 (11:08 +0000)
committermpa <mpa@opencascade.com>
Thu, 31 Oct 2013 11:08:56 +0000 (11:08 +0000)
adm_local/cmake_files/FindSalomeCGNS.cmake
adm_local/cmake_files/FindSalomeTBB.cmake

index 2974e73..b43dd0c 100644 (file)
@@ -22,6 +22,5 @@ MARK_AS_ADVANCED(CGNS_INCLUDE_DIRS CGNS_LIBRARIES)
 
 IF(CGNS_FOUND) 
   SALOME_ACCUMULATE_HEADERS(CGNS_INCLUDE_DIRS)
-  SALOME_ACCUMULATE_ENVIRONMENT(PATH ${CGNS_ROOT_DIR}/bin)
-  SALOME_ACCUMULATE_ENVIRONMENT(LD_LIBRARY_PATH ${CGNS_ROOT_DIR}/lib)
+  SALOME_ACCUMULATE_ENVIRONMENT(LD_LIBRARY_PATH ${CGNS_LIBRARIES})
 ENDIF()
\ No newline at end of file
index 65b2851..5eb4bb3 100644 (file)
@@ -22,6 +22,5 @@ MARK_AS_ADVANCED(TBB_INCLUDE_DIRS TBB_LIBRARIES)
 
 IF(TBB_FOUND) 
   SALOME_ACCUMULATE_HEADERS(TBB_INCLUDE_DIRS)
-  SALOME_ACCUMULATE_ENVIRONMENT(PATH ${TBB_ROOT_DIR}/bin/intel64/cc4.1.0_libc2.4_kernel2.6.16.21)
   SALOME_ACCUMULATE_ENVIRONMENT(LD_LIBRARY_PATH ${TBB_LIBRARIES})
 ENDIF()
\ No newline at end of file