Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Require CMake package for TBB (#1322)
* Make libdl/dbghelp private linkage * Remove TBB flags from toolkits that don't use TBB * Remove FindTBB.cmake All supported TBB versions ship as CMake packages, so this is no longer needed. * Remove from-source build option * Create an imported target for TBB used by Dyninst This is needed to force the include directories to be considered 'system' directories so that compiler warnings from TBB sources are ignored * Rename cmake/ThreadingBuildingBlocks.cmake -> cmake/tpls/DyninstTBB.cmake This is needed to keep the namespace clean for DyninstConfig.cmake * Export TBB as part of the Dyninst CMake package This is required by the CMake guidelines: https://cmake.org/cmake/help/latest/guide/importing-exporting/index.html In particular, "All required dependencies of a package must also be found in the package configuration file" * Format DyninstTBB.cmake
- Loading branch information