mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 01:10:35 +05:00
Correct tbb detection procedure
This commit is contained in:
parent
301a74fd98
commit
629f12cf13
@ -39,7 +39,7 @@ IF(TBB_ROOT_DIR)
|
|||||||
LIST(APPEND CMAKE_PREFIX_PATH "${TBB_ROOT_DIR}")
|
LIST(APPEND CMAKE_PREFIX_PATH "${TBB_ROOT_DIR}")
|
||||||
ENDIF(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)
|
SET(TBBKERNEL cc4.1.0_libc2.4_kernel2.6.16.21)
|
||||||
|
|
||||||
@ -58,4 +58,4 @@ SET(TBB_LIBRARIES
|
|||||||
)
|
)
|
||||||
|
|
||||||
INCLUDE(FindPackageHandleStandardArgs)
|
INCLUDE(FindPackageHandleStandardArgs)
|
||||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(TBB REQUIRED_VARS TBB_INCLUDE_DIRS TBB_LIBRARY_tbb TBB_LIBRATY_tbbmalloc)
|
FIND_PACKAGE_HANDLE_STANDARD_ARGS(TBB REQUIRED_VARS TBB_INCLUDE_DIRS TBB_LIBRARY_tbb TBB_LIBRATY_tbbmalloc)
|
||||||
|
Loading…
Reference in New Issue
Block a user