From e05fc9512bac35ae9e3f2468ab55a60efe57e3a3 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Sun, 1 Feb 2015 00:55:32 +0000 Subject: [PATCH] [CMake] LLVMTarget requires Intrinsics.gen since r227669 introduced llvm/Analysis/TargetTransformInfo.h. llvm-svn: 227699 --- lib/Target/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Target/CMakeLists.txt b/lib/Target/CMakeLists.txt index 87162dc5bf7..d0f10a19a0f 100644 --- a/lib/Target/CMakeLists.txt +++ b/lib/Target/CMakeLists.txt @@ -1,3 +1,5 @@ +list(APPEND LLVM_COMMON_DEPENDS intrinsics_gen) + add_llvm_library(LLVMTarget Target.cpp TargetIntrinsicInfo.cpp @@ -7,8 +9,6 @@ add_llvm_library(LLVMTarget TargetSubtargetInfo.cpp ) -list(APPEND LLVM_COMMON_DEPENDS intrinsics_gen) - foreach(t ${LLVM_TARGETS_TO_BUILD}) message(STATUS "Targeting ${t}") add_subdirectory(${t})