diff --git a/llvm/cmake/modules/HandleLLVMOptions.cmake b/llvm/cmake/modules/HandleLLVMOptions.cmake --- a/llvm/cmake/modules/HandleLLVMOptions.cmake +++ b/llvm/cmake/modules/HandleLLVMOptions.cmake @@ -10,9 +10,10 @@ include(CheckProblematicConfigurations) include(HandleLLVMStdlib) include(CheckCCompilerFlag) +include(CheckCSourceCompiles) include(CheckCXXCompilerFlag) +include(CheckCXXSourceCompiles) include(CheckSymbolExists) -include(CheckCSourceCompiles) include(CMakeDependentOption) include(LLVMProcessSources)