From ec73f5dacf1da07eb60321f843cd0d6bbbf9e1bc Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Tue, 6 Sep 2016 20:16:19 +0000 Subject: [PATCH] Try to fix a circular dependency in the modules build. llvm-svn: 280746 --- llvm/CMakeLists.txt | 1 + llvm/lib/CMakeLists.txt | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt index 83f44b8..8d80866 100644 --- a/llvm/CMakeLists.txt +++ b/llvm/CMakeLists.txt @@ -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) diff --git a/llvm/lib/CMakeLists.txt b/llvm/lib/CMakeLists.txt index 6b88463..54aa0a9 100644 --- a/llvm/lib/CMakeLists.txt +++ b/llvm/lib/CMakeLists.txt @@ -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) -- 2.7.4