[CMake][llvm] add missing include to LLVMCheckLinkerFlag

Differential Revision: https://reviews.llvm.org/D101417
This commit is contained in:
Jim Radford 2021-04-27 17:16:57 -07:00 committed by Francis Visoiu Mistrih
parent b1a77e465e
commit e8b3a97ff7
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ if (COMMAND check_linker_flag)
endmacro()
else()
include(CheckCXXCompilerFlag)
include(CMakePushCheckState)
# cmake builtin compatible, except we assume lang is CXX
function(llvm_check_linker_flag lang flag out_var)