fixes issues with TBB not being found when building downstream packages
parent
0f7bc5cf2d
commit
0443bcd11e
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue