forked from OSchip/llvm-project
Fix the CLANG_ENABLE_STATIC_ANALYZER=OFF build.
tools/clang/tools/CMakeLists.txt does not create the clang-check target when CLANG_ENABLE_STATIC_ANALYZER=OFF. llvm-svn: 271392
This commit is contained in:
parent
288be8bab6
commit
11a7285ecd
|
@ -26,11 +26,17 @@ endif ()
|
|||
|
||||
list(APPEND CLANG_TEST_DEPS
|
||||
clang clang-headers
|
||||
clang-check clang-format
|
||||
clang-format
|
||||
c-index-test diagtool
|
||||
clang-tblgen
|
||||
)
|
||||
|
||||
if(CLANG_ENABLE_STATIC_ANALYZER)
|
||||
list(APPEND CLANG_TEST_DEPS
|
||||
clang-check
|
||||
)
|
||||
endif()
|
||||
|
||||
if (CLANG_ENABLE_ARCMT)
|
||||
list(APPEND CLANG_TEST_DEPS
|
||||
arcmt-test
|
||||
|
|
Loading…
Reference in New Issue