fix outdated code

Co-authored-by: Laurent Rineau <Laurent.Rineau@cgal.org>
This commit is contained in:
Jane Tournois 2021-05-28 14:55:14 +02:00 committed by GitHub
parent 525271c25e
commit 321e8293af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ endmacro()
# Now to actually find TBB
#
#start with looking for TBB_DIR and TBB_ROOT
if((TBB_ROOT OR ENV_TBB_ROOT OR ENV{TBB_DIR} ) AND NOT TBB_FOUND)
if((TBB_ROOT OR ENV{TBB_ROOT} OR ENV{TBB_DIR} ) AND NOT TBB_FOUND)
find_package(TBB QUIET NO_MODULE NO_CMAKE_SYSTEM_PATH NO_SYSTEM_ENVIRONMENT_PATH)
endif()
if(TBB_FOUND)