Skip to content

Terminal flooded with cmake warnings when building with ninja+cmake 3.20 #8060

@eguiraud

Description

@eguiraud

Describe the bug

The warnings look like this:

CMake Warning (dev) at interpreter/llvm/src/cmake/modules/TableGen.cmake:70 (add_custom_command):
  Policy CMP0116 is not set: Ninja generators transform DEPFILEs from
  add_custom_command().  Run "cmake --help-policy CMP0116" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.
Call Stack (most recent call first):
  interpreter/llvm/src/include/llvm/IR/CMakeLists.txt:2 (tablegen)
This warning is for project developers.  Use -Wno-dev to suppress it.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions