[all-commits] [llvm/llvm-project] 3ebb2c: [llvm][cmake] Shore up `llvm_check_linker_flags`.

John Ericson via All-commits all-commits at lists.llvm.org
Mon Jul 25 09:02:37 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3ebb2c0427aaf636d5c141c170ee95601ced9e6a
  Author: John Ericson <John.Ericson at Obsidian.Systems>
  Date:   2022-07-25 (Mon, 25 Jul 2022)

  Changed paths:
    M llvm/cmake/modules/LLVMCheckLinkerFlag.cmake

  Log Message:
  [llvm][cmake] Shore up `llvm_check_linker_flags`.

Ensure `CMAKE_EXE_LINKER_FLAGS` effects the underlying `try_compile` by setting
this policy to use the new, non-deprecated behavior, without effecting the

Normally this shouldn't be necessary, as CMake uses
`cmake_minimum_required(VERSION 3.13.4)` consistently, but I suppose
this could rear its head in a downstream project?

Reviewed By: sebastian-ne

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

More information about the All-commits mailing list