Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add project to cmake of example code #116

Open
TimmRuppert opened this issue Oct 11, 2024 · 0 comments · May be fixed by #117
Open

Add project to cmake of example code #116

TimmRuppert opened this issue Oct 11, 2024 · 0 comments · May be fixed by #117
Assignees
Labels
quality Quality improvements.

Comments

@TimmRuppert
Copy link

Describe the bug

Running the cmake configuration give

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.

Describe how to reproduce the bug

Freshly reconfigure your build using cmake

Describe the expected behavior

No warnings

Additional context

Simply adding project(OSMPExamples) should be sufficient.

@TimmRuppert TimmRuppert added the quality Quality improvements. label Oct 11, 2024
@TimmRuppert TimmRuppert self-assigned this Oct 11, 2024
@TimmRuppert TimmRuppert linked a pull request Oct 11, 2024 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
quality Quality improvements.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant