[CMake] Add RuntimeDyld to libdeps corresponding to r229343.
[oota-llvm.git] / unittests / ExecutionEngine / CMakeLists.txt
1 set(LLVM_LINK_COMPONENTS
2   Core
3   ExecutionEngine
4   Interpreter
5   MC
6   RuntimeDyld
7   Support
8   )
9
10 add_llvm_unittest(ExecutionEngineTests
11   ExecutionEngineTest.cpp
12   )
13
14 # Include MCJIT tests only if native arch is a built JIT target.
15 list(FIND LLVM_TARGETS_TO_BUILD "${LLVM_NATIVE_ARCH}" build_idx)
16 list(FIND LLVM_TARGETS_WITH_JIT "${LLVM_NATIVE_ARCH}" jit_idx)
17 if (NOT build_idx LESS 0 AND NOT jit_idx LESS 0)
18   add_subdirectory(MCJIT)
19 endif()