[clang] [unittest] Import LLVMTestingSupport if necessary
authorMichal Gorny <mgorny@gentoo.org>
Thu, 12 Sep 2019 13:06:12 +0000 (13:06 +0000)
committerMichal Gorny <mgorny@gentoo.org>
Thu, 12 Sep 2019 13:06:12 +0000 (13:06 +0000)
commitbfb5b0cb86cf90d9fa794f873644aa642b652c43
tree175f71c19ae72679adb1d58662537d3905894507
parentd0c800489044f33694954e8537e1e40e39e45264
[clang] [unittest] Import LLVMTestingSupport if necessary

Add LLVMTestingSupport directory from LLVM_MAIN_SRC_DIR when building
clang stand-alone and LLVMTestingSupport library is not present.  This
is needed to fix stand-alone builds without clang-tools-extra.

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

llvm-svn: 371733
clang/unittests/CMakeLists.txt