From fb922a1cfabbd444e12532d7aa738abbf3b45d9d Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Sat, 23 Jun 2018 17:32:51 +0000 Subject: [PATCH] Attempt to fix latent tablegen dependency issue git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@335419 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/clang-fuzzer/handle-llvm/CMakeLists.txt | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/tools/clang-fuzzer/handle-llvm/CMakeLists.txt b/tools/clang-fuzzer/handle-llvm/CMakeLists.txt index 905d814f1a..27640a0bf5 100644 --- a/tools/clang-fuzzer/handle-llvm/CMakeLists.txt +++ b/tools/clang-fuzzer/handle-llvm/CMakeLists.txt @@ -4,8 +4,17 @@ set(LLVM_LINK_COMPONENTS MC Support Analysis -) + ) + +# Depend on LLVM IR intrinsic generation. +set(handle_llvm_deps intrinsics_gen) +if (CLANG_BUILT_STANDALONE) + set(handle_llvm_deps) +endif() add_clang_library(clangHandleLLVM handle_llvm.cpp + + DEPENDS + ${handle_llvm_deps} ) -- 2.40.0