Sign in
swiftshader
/
SwiftShader
/
47da2d37c6ec89c4138f0c714cafd6b5da1b0885
/
.
/
third_party
/
llvm-7.0
/
llvm
/
cmake
/
modules
/
CheckLinkerFlag.cmake
blob: fe9d01a349cd8d55f5db93df76414d29f9c03908 [
file
] [
log
] [
blame
]
include
(
CheckCXXCompilerFlag
)
function
(
check_linker_flag flag out_var
)
set
(
CMAKE_EXE_LINKER_FLAGS
"${CMAKE_EXE_LINKER_FLAGS} ${flag}"
)
check_cxx_compiler_flag
(
""
$
{
out_var
})
endfunction
()