[all-commits] [llvm/llvm-project] 638d84: [cmake] Configure policy CMP0116

Dave Lee via All-commits all-commits at lists.llvm.org
Fri Apr 23 08:58:01 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 638d84b60b7e7b7fa9099939ab4de2ec1e0c52c3
      https://github.com/llvm/llvm-project/commit/638d84b60b7e7b7fa9099939ab4de2ec1e0c52c3
  Author: Dave Lee <davelee.com at gmail.com>
  Date:   2021-04-23 (Fri, 23 Apr 2021)

  Changed paths:
    M llvm/CMakeLists.txt

  Log Message:
  -----------
  [cmake] Configure policy CMP0116

Using `cmake` >=3.20 results in many warnings about this new policy. This change silences the warnings by explicitly declaring use of the "OLD" behavior.

This policy currently affects only one place: the `tablegen()` function in `TableGen.cmake`.

Differential Revision: https://reviews.llvm.org/D101083




More information about the All-commits mailing list