[all-commits] [llvm/llvm-project] ab405f: [CMake] Do not set CMP0116 explicitly to old (#90385)

Aiden Grossman via All-commits all-commits at lists.llvm.org
Fri Apr 25 21:30:21 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ab405fb6e9ff9202ca722f632b945d4b84c653f5
      https://github.com/llvm/llvm-project/commit/ab405fb6e9ff9202ca722f632b945d4b84c653f5
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2025-04-25 (Fri, 25 Apr 2025)

  Changed paths:
    M cmake/Modules/CMakePolicy.cmake
    M llvm/cmake/modules/TableGen.cmake
    M mlir/cmake/modules/AddMLIR.cmake

  Log Message:
  -----------
  [CMake] Do not set CMP0116 explicitly to old (#90385)

CMP0116 was originally set to old to get rid of warnings. However, this
behavior is now set to new by default with the minimum CMake version
that LLVM requires so does not produce any warnings, and setting it
explicitly to old does produce a warning in newer CMake versions. Due to
these reasons, remove this check for now.

Splitting off from removing the CMP0114 check just in case something
breaks.

Partially fixes #83727.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list