![]() If a package (A) depends on another package (B) and the package B depends on Boost then it might happen that B produces BConfig.cmake file where absolute paths to Boost's headers are put (because CMake's standard FindBoost.cmake module reports absolute paths). In case of Yocto it means that BConfig.cmake will contain something like /path/to/build/tmp-glibc/work/i586/package_B/0.0.1/recipe-sysroot/usr/include. The path may not exist at the moment when the package A is being built. And that leads to the failure of the check this patch switches off. The problem has been reported to catkin's issue tracker: https://github.com/ros/catkin/issues/851 This patch "relocates" required headers from dependencies' sysroots to the current sysroot by removing sysroot prefix from include dirs in *Config.cmake files at the moment the files get created and by prepending the include dirs again with the current sysroot prefix. Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com> |
||
---|---|---|
.. | ||
0001-CATKIN_WORKSPACES-Don-t-require-.catkin-file.patch | ||
0001-avoid-using-host-s-paths-when-cross-compiling.patch | ||
0001-relocate-dependency-s-headers-to-current-sysroot.patch | ||
0001-use-python-provided-by-environment-instead-of-the-ge.patch |