From 1d473652592ce8d7372505f074b974b46f515f31 Mon Sep 17 00:00:00 2001 From: Vlad Tsyrklevich Date: Thu, 12 Oct 2017 14:42:26 +0000 Subject: [PATCH] [cfi-verify] Fix typo, actually check X86 target The typo in r315556 disabled the cfi-verify unit tests from building unconditionally, have it correctly check for the X86 target. llvm-svn: 315581 --- llvm/unittests/tools/llvm-cfi-verify/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/unittests/tools/llvm-cfi-verify/CMakeLists.txt b/llvm/unittests/tools/llvm-cfi-verify/CMakeLists.txt index 110b377530c4..0f389592bdd9 100644 --- a/llvm/unittests/tools/llvm-cfi-verify/CMakeLists.txt +++ b/llvm/unittests/tools/llvm-cfi-verify/CMakeLists.txt @@ -11,7 +11,7 @@ set(LLVM_LINK_COMPONENTS Support ) -list(FIND LLVM_ARGETS_TO_BUILD "X86" x86_idx) +list(FIND LLVM_TARGETS_TO_BUILD "X86" x86_idx) if (NOT x86_idx LESS 0) add_llvm_unittest(CFIVerifyTests FileAnalysis.cpp)