[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
Author: John Ericson <John.Ericson at Obsidian.Systems>
Date: 2022-07-25 (Mon, 25 Jul 2022)
[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