Clean up a pile of hacks in our CMake build relating to TableGen.
[oota-llvm.git] / lib / Target / SystemZ / CMakeLists.txt
index f4bdbd8cd173103fb3c03aefd04af333c5858822..bd8238ecac5d8a5bd64b6318c0fc387f9e4f6223 100644 (file)
@@ -6,6 +6,7 @@ tablegen(SystemZGenAsmWriter.inc -gen-asm-writer)
 tablegen(SystemZGenDAGISel.inc -gen-dag-isel)
 tablegen(SystemZGenCallingConv.inc -gen-callingconv)
 tablegen(SystemZGenSubtargetInfo.inc -gen-subtarget)
+add_public_tablegen_target(SystemZCommonTableGen)
 
 add_llvm_target(SystemZCodeGen
   SystemZAsmPrinter.cpp