Salome HOME
CMake: Edition accumulation of LD_LIBRARY_PATH, PATH and PYTHONPATH
[modules/smesh.git] / adm_local / cmake_files / FindSalomeTBB.cmake
index ddc3ccea15fd6bd0cf023d8e0a3ed9952d2540b2..5eb4bb36b32049815e23a3697a4268e666caee48 100644 (file)
@@ -19,3 +19,8 @@
 
 SALOME_FIND_PACKAGE_AND_DETECT_CONFLICTS(TBB TBB_INCLUDE_DIRS 2)
 MARK_AS_ADVANCED(TBB_INCLUDE_DIRS TBB_LIBRARIES)
+
+IF(TBB_FOUND) 
+  SALOME_ACCUMULATE_HEADERS(TBB_INCLUDE_DIRS)
+  SALOME_ACCUMULATE_ENVIRONMENT(LD_LIBRARY_PATH ${TBB_LIBRARIES})
+ENDIF()
\ No newline at end of file