diff --git a/lib/CodeGen/CMakeLists.txt b/lib/CodeGen/CMakeLists.txt
index 3c264847402edb1be8e1f56e3d5a9952dd5c5583..45469d39e4afba2a2d972387cf72378d45dc07b5 100644
--- a/lib/CodeGen/CMakeLists.txt
+++ b/lib/CodeGen/CMakeLists.txt
@@ -29,5 +29,5 @@ add_clang_library(clangCodeGen
   CodeGenTypes.cpp
   Mangle.cpp
   ModuleBuilder.cpp
-  TargetABIInfo.cpp
+  TargetInfo.cpp
   )
diff --git a/lib/Sema/CMakeLists.txt b/lib/Sema/CMakeLists.txt
index fd3265d874ce58784b94dbddad5c4f0d59285bff..5be6712c8397edb6c4f9b10279a693b6fb658f11 100644
--- a/lib/Sema/CMakeLists.txt
+++ b/lib/Sema/CMakeLists.txt
@@ -29,6 +29,7 @@ add_clang_library(clangSema
   SemaTemplateInstantiate.cpp
   SemaTemplateInstantiateDecl.cpp
   SemaType.cpp
+  TargetAttributesSema.cpp
   )
 
 add_dependencies(clangSema ClangDiagnosticSema)