intel / gmmlib

Other
159 stars 87 forks source link

Add project(GmmLib) to the top-level CMakeLists.txt file #86

Closed daravi closed 2 years ago

daravi commented 3 years ago

Please add project(GmmLib) to the top-level CMakeLists.txt file to suppress this CMake warning:

$ cmake -DCMAKE_BUILD_TYPE=Release ..
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.
johnmach commented 2 years ago

This is fixed in https://github.com/intel/gmmlib/commit/19963011a40afd62c2a90e54d750fc3c60482ab7