diff --git a/cmake/modules/CheckCompilerVersion.cmake b/cmake/modules/CheckCompilerVersion.cmake index e72f24cf8f1..08900a4599e 100644 --- a/cmake/modules/CheckCompilerVersion.cmake +++ b/cmake/modules/CheckCompilerVersion.cmake @@ -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)