查看CMakeLists.txt,确保声明顺序如下:
find_package() catkin_package() include_directories() add_executable() target_link_libraries()