From: vsr Date: Thu, 14 Nov 2013 14:07:03 +0000 (+0000) Subject: Correct tbb detection procedure X-Git-Tag: V7_3_0a1~65 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=629f12cf13d60acb9a72d5a756665d82bc2f9d4e;p=modules%2Fsmesh.git Correct tbb detection procedure --- diff --git a/adm_local/cmake_files/FindTBB.cmake b/adm_local/cmake_files/FindTBB.cmake index 86251788b..d5cff334f 100644 --- a/adm_local/cmake_files/FindTBB.cmake +++ b/adm_local/cmake_files/FindTBB.cmake @@ -39,7 +39,7 @@ IF(TBB_ROOT_DIR) LIST(APPEND CMAKE_PREFIX_PATH "${TBB_ROOT_DIR}") ENDIF(TBB_ROOT_DIR) -FIND_PATH(TBB_INCLUDE_DIRS tbb.h PATH_SUFFIXES "include/tbb") +FIND_PATH(TBB_INCLUDE_DIRS tbb/tbb.h PATH_SUFFIXES include) SET(TBBKERNEL cc4.1.0_libc2.4_kernel2.6.16.21) @@ -58,4 +58,4 @@ SET(TBB_LIBRARIES ) INCLUDE(FindPackageHandleStandardArgs) -FIND_PACKAGE_HANDLE_STANDARD_ARGS(TBB REQUIRED_VARS TBB_INCLUDE_DIRS TBB_LIBRARY_tbb TBB_LIBRATY_tbbmalloc) \ No newline at end of file +FIND_PACKAGE_HANDLE_STANDARD_ARGS(TBB REQUIRED_VARS TBB_INCLUDE_DIRS TBB_LIBRARY_tbb TBB_LIBRATY_tbbmalloc)