diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2017-05-03 23:33:54 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2017-05-03 23:33:54 +0000 |
commit | 8e5f0409fb161977bebea83d76ad2d793affa275 (patch) | |
tree | 17aca5db88f70ba048cc38a76feb5f1efc89d7e8 /clang/lib/Frontend/PrintPreprocessedOutput.cpp | |
parent | 739a7b2f9cadcec82822524fa227eaaff90b1eb4 (diff) | |
download | bcm5719-llvm-8e5f0409fb161977bebea83d76ad2d793affa275.tar.gz bcm5719-llvm-8e5f0409fb161977bebea83d76ad2d793affa275.zip |
CMake: Only add test/ subdirectory when it exists
r296685 started adding the test/ subdirectory even when
LIBCXX_INCLUDE_TESTS=OFF. This is great for testing libcxx standalone,
but it also breaks the build when the test/ subdirectory is removed
(and our submission system strips all test/ directories).
This patch updates the logic to check for test/ before adding it.
rdar://problem/31931366
llvm-svn: 302095
Diffstat (limited to 'clang/lib/Frontend/PrintPreprocessedOutput.cpp')
0 files changed, 0 insertions, 0 deletions