[CMake] Allow passing extra CMake arguments to custom libc++
authorPetr Hosek <phosek@chromium.org>
Thu, 21 Dec 2017 20:04:10 +0000 (20:04 +0000)
committerPetr Hosek <phosek@chromium.org>
Thu, 21 Dec 2017 20:04:10 +0000 (20:04 +0000)
commitaa73ff2da5b68b4060b122d123b5c3d8d138c982
tree313cc749229a5ad4a56e8ad7cca2bd52a567ef85
parenta283e48f69142b500a29a0eefb845c55ad5ce735
[CMake] Allow passing extra CMake arguments to custom libc++

This can be used to customize the libc++ build.

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

llvm-svn: 321299
compiler-rt/cmake/Modules/AddCompilerRT.cmake