[PATCH] D101417: [CMake][llvm] add missing include to LLVMCheckLinkerFlag

Jim Radford via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 27 17:22:26 PDT 2021


radford created this revision.
radford added a reviewer: JDevlieghere.
Herald added a subscriber: mgorny.
radford requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D101417

Files:
  llvm/cmake/modules/LLVMCheckLinkerFlag.cmake


Index: llvm/cmake/modules/LLVMCheckLinkerFlag.cmake
===================================================================
--- llvm/cmake/modules/LLVMCheckLinkerFlag.cmake
+++ llvm/cmake/modules/LLVMCheckLinkerFlag.cmake
@@ -6,6 +6,7 @@
   endmacro()
 else()
   include(CheckCXXCompilerFlag)
+  include(CMakePushCheckState)
 
   # cmake builtin compatible, except we assume lang is CXX
   function(llvm_check_linker_flag lang flag out_var)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101417.341035.patch
Type: text/x-patch
Size: 437 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210428/9c36b9af/attachment.bin>


More information about the llvm-commits mailing list