diff options
| author | Alp Toker <alp@nuanti.com> | 2014-06-06 05:01:47 +0000 |
|---|---|---|
| committer | Alp Toker <alp@nuanti.com> | 2014-06-06 05:01:47 +0000 |
| commit | 6cea3180270a27710db19f76be1abe20b0b5b792 (patch) | |
| tree | 76f9f5727f300296875740452737c88603664f20 | |
| parent | b27bdade9f4f61e90407f0f4030eb2ac220aad7f (diff) | |
| download | bcm5719-llvm-6cea3180270a27710db19f76be1abe20b0b5b792.tar.gz bcm5719-llvm-6cea3180270a27710db19f76be1abe20b0b5b792.zip | |
Always check for libxml2 in CMake
This is clang's business and LLVM will soon be updated not to perform the check
for us.
llvm-svn: 210308
| -rw-r--r-- | clang/CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/CMakeLists.txt b/clang/CMakeLists.txt index 2d7bb6f5402..ece6bf8bce4 100644 --- a/clang/CMakeLists.txt +++ b/clang/CMakeLists.txt @@ -156,11 +156,11 @@ if( CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR ) endif() set( CLANG_BUILT_STANDALONE 1 ) +endif() - find_package(LibXml2) - if (LIBXML2_FOUND) - set(CLANG_HAVE_LIBXML 1) - endif () +find_package(LibXml2) +if (LIBXML2_FOUND) + set(CLANG_HAVE_LIBXML 1) endif() set(CLANG_RESOURCE_DIR "" CACHE STRING |

