ROSでパッケージをcloneしてきて、catkin_makeしたときに以下のようなエラーが出た。
Could not find a package configuration file provided by "ifopt" (requested
version 2.0.1) with any of the following names:
ifoptConfig.cmake
ifopt-config.cmake
解決策
cloneしたパッケージにcdして以下のコマンドを実行する。
カレントディレクトリが ~/catkin_ws/src/cloneしたパッケージ にあるとして
cmake .. && make install
このあとcatkin_wsにcdしてcatkin_makeすればmakeが通る。