Install scan-build and scan-view only if Static Analyzer was enabled.

llvm-svn: 257562
This commit is contained in:
Eugene Zelenko 2016-01-13 02:03:50 +00:00
parent 3806c5c15c
commit a78996e2e6
1 changed files with 2 additions and 2 deletions

View File

@ -5,8 +5,6 @@ add_clang_subdirectory(driver)
add_clang_subdirectory(clang-format)
add_clang_subdirectory(clang-format-vs)
add_clang_subdirectory(clang-fuzzer)
add_clang_subdirectory(scan-build)
add_clang_subdirectory(scan-view)
add_clang_subdirectory(c-index-test)
add_clang_subdirectory(libclang)
@ -18,6 +16,8 @@ endif()
if(CLANG_ENABLE_STATIC_ANALYZER)
add_clang_subdirectory(clang-check)
add_clang_subdirectory(scan-build)
add_clang_subdirectory(scan-view)
endif()
# We support checking out the clang-tools-extra repository into the 'extra'