From: NAKAMURA Takumi Date: Tue, 10 Dec 2013 10:30:08 +0000 (+0000) Subject: [CMake] lli/CMakeLists.txt: Move add_subdirectory(ChildTarget) to the front. It depen... X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=faeef98cbcd1b8e1830b3ced48e85dd77c1b71b8;p=oota-llvm.git [CMake] lli/CMakeLists.txt: Move add_subdirectory(ChildTarget) to the front. It depends on nothing described in LLVM_LINK_COMPONENTS. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196902 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/lli/CMakeLists.txt b/tools/lli/CMakeLists.txt index da48e6d215c..841a0ce42f8 100644 --- a/tools/lli/CMakeLists.txt +++ b/tools/lli/CMakeLists.txt @@ -1,8 +1,7 @@ +add_subdirectory(ChildTarget) set(LLVM_LINK_COMPONENTS mcjit jit interpreter nativecodegen bitreader asmparser irreader selectiondag native instrumentation) -add_subdirectory(ChildTarget) - if( LLVM_USE_OPROFILE ) set(LLVM_LINK_COMPONENTS ${LLVM_LINK_COMPONENTS}