CMake Error at /opt/ros/noetic/share/catkin/cmake/catkin_package.cmake:91 (message):
catkin_package() PROJECT_NAME is set to 'Project', which is not a valid
project name. You must call project() before calling catkin_package().
Call Stack (most recent call first):
CMakeLists.txt:77 (catkin_package)
-- Configuring incomplete, errors occurred!
See also "/home/nuc2/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/nuc2/catkin_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed
使用环境:Ubuntu 18.04 安装 ROS melodic