[projects] Use directory name for add_llvm_external_projects
authorShoaib Meenai <smeenai@fb.com>
Tue, 4 Dec 2018 00:12:03 +0000 (00:12 +0000)
committerShoaib Meenai <smeenai@fb.com>
Tue, 4 Dec 2018 00:12:03 +0000 (00:12 +0000)
commitef7657754d6adf81cb9a7b404c973d25c39ff79d
treeeb458677a0904d7b1e9c31f43a7e3c8d44a97e68
parentcf5ecb1adb67b6884d332255b31b7dd303457691
[projects] Use directory name for add_llvm_external_projects

add_llvm_external_projects expects the directory name instead of the
full path, otherwise the check for an in-tree subproject will fail and
the project won't be configured.

llvm-svn: 348217
llvm/projects/CMakeLists.txt