[CMake] clang depends on intrinsics_gen

cc1_main.cpp has the following include chain:

llvm/LinkAllPasses.h
llvm/Analysis/AliasSetTracker.h
llvm/Analysis/AliasAnalysis.h
llvm/IR/CallSite.h
llvm/IR/Attributes.h
llvm/IR/Attributes.gen

This means clang needs to depend on intrinsics_gen.

llvm-svn: 287407
This commit is contained in:
Chris Bieneman 2016-11-18 23:31:16 +00:00
parent 3d1d968f18
commit 73f03752b6
1 changed files with 3 additions and 0 deletions

View File

@ -28,6 +28,9 @@ add_clang_tool(clang
driver.cpp
cc1_main.cpp
cc1as_main.cpp
DEPENDS
intrinsics_gen
)
target_link_libraries(clang