[CMake] Make llvm-config implicit dependency for subprojects
authorChris Bieneman <beanz@apple.com>
Thu, 18 Aug 2016 21:41:21 +0000 (21:41 +0000)
committerChris Bieneman <beanz@apple.com>
Thu, 18 Aug 2016 21:41:21 +0000 (21:41 +0000)
commit997ee2b8cff8441ce069a6bf14d049cf7f41642c
tree5fcc161f216dfc8f020d1c871ff6ba735c2a7c3a
parentbe25c486dc57c4ffd0e109d420844392ba34090e
[CMake] Make llvm-config implicit dependency for subprojects

The subproject interface being used for runtime libraries expects that llvm-config is passed into the subproject for consumption. We currently do this for every subproject, so we should expect that all LLVM ExternalProjects depend on llvm-config for the time being.

Eventually I'd like to see the sub-projects using LLVMConfig.cmake instead of the llvm-config binary, but that will take time to roll out.

llvm-svn: 279155
llvm/cmake/modules/LLVMExternalProjectUtils.cmake
llvm/runtimes/CMakeLists.txt