[x86] Replace the long spelling of getting a bitcast with the *much*
[oota-llvm.git] / lib / Target / CMakeLists.txt
index 87162dc5bf719d80fc195358a05f021f3f22ad22..1805437b12f71575ac5579e47d3a1276bfac4fbc 100644 (file)
@@ -1,3 +1,5 @@
+list(APPEND LLVM_COMMON_DEPENDS intrinsics_gen)
+
 add_llvm_library(LLVMTarget
   Target.cpp
   TargetIntrinsicInfo.cpp
@@ -5,9 +7,10 @@ add_llvm_library(LLVMTarget
   TargetMachine.cpp
   TargetMachineC.cpp
   TargetSubtargetInfo.cpp
-  )
 
-list(APPEND LLVM_COMMON_DEPENDS intrinsics_gen)
+  ADDITIONAL_HEADER_DIRS
+  ${LLVM_MAIN_INCLUDE_DIR}/llvm/Target
+  )
 
 foreach(t ${LLVM_TARGETS_TO_BUILD})
   message(STATUS "Targeting ${t}")