[CMake] Pass additional CMake tools to external projects
authorPetr Hosek <phosek@chromium.org>
Wed, 6 Jun 2018 21:43:37 +0000 (21:43 +0000)
committerPetr Hosek <phosek@chromium.org>
Wed, 6 Jun 2018 21:43:37 +0000 (21:43 +0000)
commit0acc024d7a065f58cfe8bf727e4df36af35952b4
tree1c578c93916960796ad6cf9e04feef4ee3c5c0e0
parent08d1640535ce8f7af2bd937071bd32905fba8570
[CMake] Pass additional CMake tools to external projects

This is needed when the external projects try to use other tools
besides just the compiler and the linker.

Differential Revision: https://reviews.llvm.org/D47833

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