Undoing test commit blank space.
[oota-llvm.git] / CMakeLists.txt
index f32ba0c25a319d961c1692d6aedf0e86bec53894..8ad68a0457e5136bbaa62dcecf7782816bb4ac0a 100644 (file)
@@ -66,6 +66,7 @@ set(LLVM_ALL_TARGETS
   MSP430
   PIC16
   PowerPC
+  PTX
   Sparc
   SystemZ
   X86
@@ -336,6 +337,11 @@ foreach(t ${LLVM_TARGETS_TO_BUILD})
   set(CURRENT_LLVM_TARGET)
 endforeach(t)
 
+# PIC16 contains an odd library:
+if( LLVM_TARGETS_TO_BUILD MATCHES ".*PIC16.*" )
+  add_subdirectory(lib/Target/PIC16/PIC16Passes)
+endif()
+
 # Produce llvm/Config/AsmPrinters.def
 configure_file(
   ${LLVM_MAIN_INCLUDE_DIR}/llvm/Config/AsmPrinters.def.in