From 629f12cf13d60acb9a72d5a756665d82bc2f9d4e Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 14 Nov 2013 14:07:03 +0000 Subject: [PATCH] Correct tbb detection procedure --- adm_local/cmake_files/FindTBB.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.39.2