

Is it possible to make it so the generated CMake code has no dependency on ament_cmake? That would eliminate bugs like that. However, ros2 packages aren't currently commonly doing this. That means any package using angles has a buildtool dependency on ament_cmake_core, so packages using ament_cmake_export_include_directories must have a ament_cmake_core in their package.xml or plain CMake packages using them will fail to build. The problem is the CMake code generated as a result of ament_cmake_export_include_directories() is find_packaging ament_cmake_core. If "ament_cmake_core" provides a separate development package or Set "ament_cmake_core_DIR" to a directory containing one of the aboveįiles. "ament_cmake_core", but CMake did not find one.Ĭould not find a package configuration file provided by "ament_cmake_core"Īdd the installation prefix of "ament_cmake_core" to CMAKE_PREFIX_PATH or Project has asked CMake to find a package configuration file provided by Since I'm currently implementing the rainbrurpg's meta as a library (see libwsmeta's annoucement and repository) I would like to generate a pkg-config file using cmake. CMake Error at /home/sloretz/ws/ros2/install/angles/share/angles/cmake/ament_cmake_export_include_directories-extras.cmake:8 (find_package):īy not providing "Findament_cmake_core.cmake" in CMAKE_MODULE_PATH this pkg-config is a great way to get compiler flags for a given library.
