fixes issues with TBB not being found when building downstream packages

release/4.3a0
Nathan Hughes 2023-07-20 15:58:31 +00:00
parent 0f7bc5cf2d
commit 0443bcd11e
1 changed files with 4 additions and 0 deletions

View File

@ -21,6 +21,10 @@ else()
find_dependency(Boost @BOOST_FIND_MINIMUM_VERSION@ COMPONENTS @BOOST_FIND_MINIMUM_COMPONENTS@) find_dependency(Boost @BOOST_FIND_MINIMUM_VERSION@ COMPONENTS @BOOST_FIND_MINIMUM_COMPONENTS@)
endif() endif()
if(@GTSAM_USE_TBB@)
find_dependency(TBB 4.4 COMPONENTS tbb tbbmalloc)
endif()
if(@GTSAM_USE_SYSTEM_EIGEN@) if(@GTSAM_USE_SYSTEM_EIGEN@)
find_dependency(Eigen3 REQUIRED) find_dependency(Eigen3 REQUIRED)
endif() endif()