Try to fix a circular dependency in the modules build.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 6 Sep 2016 20:16:19 +0000 (20:16 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 6 Sep 2016 20:16:19 +0000 (20:16 +0000)
llvm-svn: 280746

llvm/CMakeLists.txt
llvm/lib/CMakeLists.txt

index 83f44b8..8d80866 100644 (file)
@@ -743,6 +743,7 @@ if( MINGW )
 endif()
 
 # Put this before tblgen. Else we have a circular dependence.
+add_subdirectory(lib/Demangle)
 add_subdirectory(lib/Support)
 add_subdirectory(lib/TableGen)
 
index 6b88463..54aa0a9 100644 (file)
@@ -1,6 +1,6 @@
-# `Support' and `TableGen' libraries are added on the top-level CMakeLists.txt
+# `Demangle', `Support' and `TableGen' libraries are added on the top-level
+# CMakeLists.txt
 
-add_subdirectory(Demangle)
 add_subdirectory(IR)
 add_subdirectory(IRReader)
 add_subdirectory(CodeGen)