X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=tools%2FCMakeLists.txt;h=1b57d7abd13a53972a91509c5606edf45a80962f;hb=e80e5583701de7a73ba50b705cbf1106980c0c85;hp=952e114408ad98a2490ee6667180323eaec23ff9;hpb=5ab5648165f4a41b7274c18ad62406b12b2119c6;p=oota-llvm.git diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index 952e114408a..1b57d7abd13 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -30,10 +30,11 @@ if(CYGWIN OR NOT LLVM_ENABLE_PIC) set(LLVM_TOOL_LLVM_LTO_BUILD Off) endif() -# Add LTO and llvm-ar before clang, ExternalProject requires targets specified -# in DEPENDS to exist before the call to ExternalProject_Add. +# Add LTO, llvm-ar, and llvm-config before clang, ExternalProject requires +# targets specified in DEPENDS to exist before the call to ExternalProject_Add. add_llvm_tool_subdirectory(lto) add_llvm_tool_subdirectory(llvm-ar) +add_llvm_tool_subdirectory(llvm-config) # Projects supported via LLVM_EXTERNAL_*_SOURCE_DIR need to be explicitly # specified.