Hopefully unbreak cmake builds
[oota-llvm.git] / lib / Target / MSP430 / CMakeLists.txt
index 67017733cd9cf805c1a732787bbbf4b6bf903de0..818e1226458842402b17be8bc62921592f25e465 100644 (file)
@@ -10,14 +10,14 @@ tablegen(MSP430GenDAGISel.inc -gen-dag-isel)
 tablegen(MSP430GenCallingConv.inc -gen-callingconv)
 tablegen(MSP430GenSubtarget.inc -gen-subtarget)
 
-add_llvm_target(MSP430
-  MSP430AsmPrinter.cpp
-  MSP430FrameInfo.cpp
-  MSP430InstrInfo.cpp
+add_llvm_target(MSP430CodeGen
   MSP430ISelDAGToDAG.cpp
-  MSP430ISelLowering.cpp
   MSP430RegisterInfo.cpp
-  MSP430Subtarget.cpp
   MSP430TargetAsmInfo.cpp
+  MSP430InstrInfo.cpp
+  MSP430ISelLowering.cpp
+  MSP430Subtarget.cpp
   MSP430TargetMachine.cpp
   )
+
+target_link_libraries (LLVMMSP430CodeGen LLVMSelectionDAG)