Use explicit add_subdirectory's for LLVM target sublibraries instead
of testing for its presence at cmake time.
This way the build automatically regenerates the makefiles when a svn
update brings in a new sublibrary.
llvm-svn: 126068
diff --git a/llvm/lib/Target/CBackend/CMakeLists.txt b/llvm/lib/Target/CBackend/CMakeLists.txt
index be24336..a23ff85 100644
--- a/llvm/lib/Target/CBackend/CMakeLists.txt
+++ b/llvm/lib/Target/CBackend/CMakeLists.txt
@@ -1,3 +1,5 @@
add_llvm_target(CBackend
CBackend.cpp
)
+
+add_subdirectory(TargetInfo)