Fix build with CMake if LLVM_USE_INTEL_JITEVENTS option is enabled
[oota-llvm.git] / tools / llvm-jitlistener / CMakeLists.txt
1 # This tool is excluded from the CMake build if Intel JIT events are disabled.
2
3 link_directories( ${LLVM_INTEL_JITEVENTS_LIBDIR} )
4 include_directories( ${LLVM_INTEL_JITEVENTS_INCDIR} )
5
6 set(LLVM_LINK_COMPONENTS
7   asmparser
8   bitreader
9   debuginfo
10   inteljitevents
11   interpreter
12   irreader
13   mcjit
14   nativecodegen
15   object
16   selectiondag
17   )
18
19 add_llvm_tool(llvm-jitlistener
20   llvm-jitlistener.cpp
21   )