mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-04 06:51:56 +00:00
Tweak CMakeLists not for libclang to depend on the variable CLANG_TOOL_EXTRA_BUILD.
llvm-svn: 262606
This commit is contained in:
parent
c1f7f1a31f
commit
dd30704201
@ -7,7 +7,6 @@ add_clang_subdirectory(clang-format-vs)
|
||||
add_clang_subdirectory(clang-fuzzer)
|
||||
|
||||
add_clang_subdirectory(c-index-test)
|
||||
add_clang_subdirectory(libclang)
|
||||
|
||||
if(CLANG_ENABLE_ARCMT)
|
||||
add_clang_subdirectory(arcmt-test)
|
||||
@ -26,3 +25,6 @@ endif()
|
||||
# to keep the primary Clang repository small and focused.
|
||||
# It also may be included by LLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR.
|
||||
add_llvm_external_project(clang-tools-extra extra)
|
||||
|
||||
# libclang may require clang-tidy in clang-tools-extra.
|
||||
add_clang_subdirectory(libclang)
|
||||
|
@ -47,7 +47,7 @@ if (CLANG_ENABLE_ARCMT)
|
||||
list(APPEND LIBS clangARCMigrate)
|
||||
endif ()
|
||||
|
||||
if (CLANG_TOOL_EXTRA_BUILD)
|
||||
if (TARGET clangTidyPlugin)
|
||||
add_definitions(-DCLANG_TOOL_EXTRA_BUILD)
|
||||
list(APPEND LIBS clangTidyPlugin)
|
||||
endif ()
|
||||
|
Loading…
Reference in New Issue
Block a user