mirror of https://github.com/CGAL/cgal
FindTBB.cmake: read both TBBROOT and TBB_ROOT (#4252)
FindTBB.cmake: read both TBBROOT and TBB_ROOT
This commit is contained in:
commit
a28d1554b3
|
|
@ -192,6 +192,11 @@ endmacro()
|
|||
# Get path, convert backslashes as ${ENV_${var}}
|
||||
getenv_path(TBB_ROOT)
|
||||
|
||||
if(NOT ENV_TBB_ROOT)
|
||||
getenv_path(TBBROOT)
|
||||
set(ENV_TBB_ROOT ${ENV_TBBROOT})
|
||||
endif()
|
||||
|
||||
# initialize search paths
|
||||
set(TBB_PREFIX_PATH ${TBB_ROOT} ${ENV_TBB_ROOT})
|
||||
set(TBB_INC_SEARCH_PATH "")
|
||||
|
|
|
|||
Loading…
Reference in New Issue