<div dir="ltr"><div>Package: libtbb-dev<br>Version: 2018~U6-4<br>X-Debbugs-CC: <a href="mailto:tille@debian.org">tille@debian.org</a><br><br>TBB provides a TBBInstallConfig CMake module to generate TBBConfig files for packages:<br>see description here <a href="https://github.com/intel/tbb/blob/tbb_2019/cmake/README.rst#tbbinstallconfig">https://github.com/intel/tbb/blob/tbb_2019/cmake/README.rst#tbbinstallconfig</a><br><br>TBBConfig files are automatically invoked by CMake when you use "find_package(TBB <...>)" (just like FindTBB.cmake module).<br><br>Some advantages of TBBConfig in comparison with FindTBB.cmake:<br>1. TBBConfig provides imported targets which can be used in modern CMake style (while current FindTBB.cmake provides variables).<br>2. TBBConfig works for the exact package, it won't look for TBB stuff in other places except the specific one.<br>3. Generator of TBBConfig files is maintained on TBB side that allows to align usage model across different distributions.<br><br>TBBInstallConfig is already used<br>- in Homebrew tbb formula: <a href="https://github.com/Homebrew/homebrew-core/blob/master/Formula/tbb.rb#L35..L38">https://github.com/Homebrew/homebrew-core/blob/master/Formula/tbb.rb#L35..L38</a><br>- in TBB packaging script (which is used in conda-forge, for example): <a href="https://github.com/intel/tbb/blob/tbb_2019/build/build.py#L157..L167">https://github.com/intel/tbb/blob/tbb_2019/build/build.py#L157..L167</a><br></div><div><br></div></div>