Skip to content
Snippets Groups Projects
Commit 0c8f2fc9 authored by Simon Praetorius's avatar Simon Praetorius
Browse files

Merge branch 'issue/tbb-found' into 'master'

Change check whether TBB was found by cmake-config file

See merge request !937
parents 51780db9 5afac5ba
Branches
Tags
1 merge request!937Change check whether TBB was found by cmake-config file
Pipeline #34581 passed
......@@ -52,7 +52,7 @@ set_package_properties("TBB" PROPERTIES
# first, try to find TBBs cmake configuration
find_package(TBB ${TBB_FIND_VERSION} QUIET CONFIG)
if(TBB_tbb_FOUND)
if(TBB_FOUND AND TARGET TBB::tbb)
message(STATUS "Found TBB: using configuration from TBB_DIR=${TBB_DIR} (found version \"${TBB_VERSION}\")")
return()
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment