forked from OSchip/llvm-project
[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:
parent
a5af4a64d0
commit
c2e2e0a678
|
@ -1 +1,4 @@
|
||||||
add_subdirectory(llvm-cfi-verify)
|
if(LLVM_TARGETS_TO_BUILD MATCHES "X86")
|
||||||
|
add_subdirectory(llvm-cfi-verify)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue