diff options
| author | Chris Bieneman <beanz@apple.com> | 2015-12-04 23:12:19 +0000 |
|---|---|---|
| committer | Chris Bieneman <beanz@apple.com> | 2015-12-04 23:12:19 +0000 |
| commit | 24423e9d03a105cc0d2273b2b5ecbdd0e00f9a46 (patch) | |
| tree | 6718f1fb2dadfcaacec800c25f3f30b5898fb7e8 | |
| parent | e737824d8a910282fa9505dbf98426d28f923cab (diff) | |
| download | bcm5719-llvm-24423e9d03a105cc0d2273b2b5ecbdd0e00f9a46.tar.gz bcm5719-llvm-24423e9d03a105cc0d2273b2b5ecbdd0e00f9a46.zip | |
[CMake] Don't build the libclang tests unless you're building libclang
This fixes a build issue reported by users at Apple.
llvm-svn: 254797
| -rw-r--r-- | clang/unittests/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/CMakeLists.txt b/clang/unittests/CMakeLists.txt index 6636d82db74..b85ec7e6dfa 100644 --- a/clang/unittests/CMakeLists.txt +++ b/clang/unittests/CMakeLists.txt @@ -25,6 +25,6 @@ add_subdirectory(Sema) add_subdirectory(CodeGen) # FIXME: libclang unit tests are disabled on Windows due # to failures, mostly in libclang.VirtualFileOverlay_*. -if(NOT WIN32) +if(NOT WIN32 AND CLANG_TOOL_LIBCLANG_BUILD) add_subdirectory(libclang) endif() |

