Skip to content
Snippets Groups Projects
Commit 13ad43d1 authored by Yaron Keren's avatar Yaron Keren
Browse files

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.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@271392 91177308-0d34-0410-b5e6-96231b3b80d8
parent 17ed5983
No related branches found
No related tags found
No related merge requests found
......@@ -26,10 +26,16 @@ 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment