mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-29 03:04:39 +00:00
[CMake] Don't build the libclang tests unless you're building libclang
This fixes a build issue reported by users at Apple. llvm-svn: 254797
This commit is contained in:
parent
e737824d8a
commit
24423e9d03
@ -25,6 +25,6 @@ add_subdirectory(Sema)
|
||||
add_subdirectory(CodeGen)
|
||||
# FIXME: libclang unit tests are disabled on Windows due
|
||||
# to failures, mostly in libclang.VirtualFileOverlay_*.
|
||||
if(NOT WIN32)
|
||||
if(NOT WIN32 AND CLANG_TOOL_LIBCLANG_BUILD)
|
||||
add_subdirectory(libclang)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user