[compiler-rt][CMake] Set project for the custom libc++
authorPetr Hosek <phosek@chromium.org>
Tue, 19 Feb 2019 16:53:33 +0000 (16:53 +0000)
committerPetr Hosek <phosek@chromium.org>
Tue, 19 Feb 2019 16:53:33 +0000 (16:53 +0000)
commita94e6d70f14f903b47d361161bd2b6bbbe071f85
treea1eaab1befeef2407f10943a88b275f95a13f6f4
parent93dfb452567588ea73988e6becdf7e37bb368b69
[compiler-rt][CMake] Set project for the custom libc++

This is another follow up to r354212 which is broken on Darwin when
cross-compiling runtimes to Linux when it ignores the -fuse-ld=lld
linker flag and attempts to use the host linker when performing the
compiler identification. Upon investigation, I noticed that setting
the project with appropriate list of languages makes the error go
away and it shouldn't hurt either.

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

llvm-svn: 354350
compiler-rt/cmake/Modules/CustomLibcxx/CMakeLists.txt