Correct tbb detection procedure

This commit is contained in:
vsr 2013-11-14 14:07:03 +00:00
parent 301a74fd98
commit 629f12cf13

View File

@ -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)