[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 4d8906fa83
commit ba54030614

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)