[CMake] Update LLVM_LINK_COMPONENTS for each CMakeLists.txt.
[oota-llvm.git] / unittests / ExecutionEngine / CMakeLists.txt
1 set(LLVM_LINK_COMPONENTS
2   Core
3   ExecutionEngine
4   Interpreter
5   Support
6   )
7
8 add_llvm_unittest(ExecutionEngineTests
9   ExecutionEngineTest.cpp
10   )
11
12 # Include JIT/MCJIT tests only if native arch is a JIT target.
13 list(FIND LLVM_TARGETS_WITH_JIT "${LLVM_NATIVE_ARCH}" have_jit)
14 if (NOT have_jit EQUAL -1 )
15   add_subdirectory(JIT)
16   add_subdirectory(MCJIT)
17 endif()