Could not find a package configuration file provided by “xxxx” with any of the following names:
xxxxxConfig.cmake
xxxxx-config.cmake
Add the installation prefix of “xxxx” to CMAKE_PREFIX_PATH or set
“xxxxx_DIR” to a directory containing one of the above files. If
“xxxxxxx” provides a separate development package or SDK, be sure it
has been installed.
解决:可以使用apt来解决
sudo apt install ros-melodic-xxxx
其中melodic时ros版本