mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
cmake: include what you use
Add a missing include. This is important in the case HandleLLVMOptions is included prior to the missing CheckCXXSourceCompiles or CheckCXXCompilerFlag which includes CheckCXXSourceCompiles. llvm-svn: 262949
This commit is contained in:
parent
4c05063985
commit
55a643e94a
@ -1,6 +1,8 @@
|
||||
# Check if the host compiler is new enough. LLVM requires at least GCC 4.7,
|
||||
# MSVC 2013, or Clang 3.1.
|
||||
|
||||
include(CheckCXXSourceCompiles)
|
||||
|
||||
if(NOT DEFINED LLVM_COMPILER_CHECKED)
|
||||
set(LLVM_COMPILER_CHECKED ON)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user