ros2 / tinydir_vendor

Vendor package for providing tinydir within a cmake package
Apache License 2.0
0 stars 7 forks source link

Cmake missing project() command #9

Closed rotu closed 4 years ago

rotu commented 4 years ago

I got the below error on build. The template file tinydir_cmakelists.txt is missing a project() command.

--- stderr: tinydir_vendor                                                                                 
* Closing connection 0
* Closing connection 1
CMake Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file must
  contain a literal, direct call to the project() command.  Add a line of
  code such as

    project(ProjectName)

  near the top of the file, but after cmake_minimum_required().

  CMake is pretending there is a "project(Project)" command on the first
  line.
This warning is for project developers.  Use -Wno-dev to suppress it.

---