[CMake] lli/CMakeLists.txt: Move add_subdirectory(ChildTarget) to the front. It depends on nothing described in LLVM_LINK_COMPONENTS.

llvm-svn: 196902
This commit is contained in:
NAKAMURA Takumi 2013-12-10 10:30:08 +00:00
parent fdca83d487
commit 16ff7bd5d2
1 changed files with 1 additions and 2 deletions

View File

@ -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}