Fix builds with llvm/runtimes/compiler-rt after r354365
authorDaniel Sanders <daniel_l_sanders@apple.com>
Tue, 19 Feb 2019 22:02:38 +0000 (22:02 +0000)
committerDaniel Sanders <daniel_l_sanders@apple.com>
Tue, 19 Feb 2019 22:02:38 +0000 (22:02 +0000)
Compiler-rt doesn't include config-ix which was providing CheckSymbolExists to
the LLVM build. Add it to HandleLLVMOptions to fix this

llvm-svn: 354389

llvm/cmake/modules/HandleLLVMOptions.cmake

index 694fe94..ee9429e 100644 (file)
@@ -10,6 +10,7 @@ include(CheckCompilerVersion)
 include(HandleLLVMStdlib)
 include(CheckCCompilerFlag)
 include(CheckCXXCompilerFlag)
+include(CheckSymbolExists)
 
 if(CMAKE_LINKER MATCHES "lld-link\.exe" OR (WIN32 AND LLVM_USE_LINKER STREQUAL "lld") OR LLVM_ENABLE_LLD)
   set(LINKER_IS_LLD_LINK TRUE)