llvm-mirror/unittests/tools/CMakeLists.txt
Krzysztof Parzyszek 18f912bd00 [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
2017-10-15 16:55:23 +00:00

5 lines
85 B
CMake

if(LLVM_TARGETS_TO_BUILD MATCHES "X86")
add_subdirectory(llvm-cfi-verify)
endif()