[unittests] Only build llvm-cfi-verify if X86 is in LLVM_TARGETS_TO_BUILD

The test requires a target for triple x86-64, and it fails in builds that
do not have the X86 backend.

llvm-svn: 315861
This commit is contained in:
Krzysztof Parzyszek 2017-10-15 16:55:23 +00:00
parent a5af4a64d0
commit c2e2e0a678
1 changed files with 4 additions and 1 deletions

View File

@ -1 +1,4 @@
add_subdirectory(llvm-cfi-verify) if(LLVM_TARGETS_TO_BUILD MATCHES "X86")
add_subdirectory(llvm-cfi-verify)
endif()