osi-sensor-model-packaging icon indicating copy to clipboard operation
osi-sensor-model-packaging copied to clipboard

Add project to cmake of example code

Open TimmRuppert opened this issue 1 year ago • 0 comments

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 avatar Oct 11 '24 12:10 TimmRuppert