From: Chris Bieneman Date: Fri, 18 Nov 2016 23:31:14 +0000 (+0000) Subject: [CMake] clang-offload-bundler depends on intrinsics_gen X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7ce3edcf7d1a10b15b18bd58a21776ab527e5c28;p=clang [CMake] clang-offload-bundler depends on intrinsics_gen ClangOffloadBundler.cpp has the following include chain: llvm/Bitcode/BitcodeWriter.h llvm/IR/ModuleSummaryIndex.h llvm/IR/Module.h llvm/IR/Function.h llvm/IR/Argument.h llvm/IR/Attributes.h llvm/IR/Attributes.gen This means clang-offload-bundler needs to depend on intrinsics_gen. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@287406 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/clang-offload-bundler/CMakeLists.txt b/tools/clang-offload-bundler/CMakeLists.txt index 90404fe6d3..d585406a42 100644 --- a/tools/clang-offload-bundler/CMakeLists.txt +++ b/tools/clang-offload-bundler/CMakeLists.txt @@ -2,6 +2,9 @@ set(LLVM_LINK_COMPONENTS BitWriter Core Object Support) add_clang_executable(clang-offload-bundler ClangOffloadBundler.cpp + + DEPENDS + intrinsics_gen ) set(CLANG_OFFLOAD_BUNDLER_LIB_DEPS