Fix the -DBUILD_SHARED_LIBS=ON build.
[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   DebugInfoDWARF
10   inteljitevents
11   interpreter
12   irreader
13   mcjit
14   nativecodegen
15   object
16   selectiondag
17   Support
18   ExecutionEngine
19   RuntimeDyld
20   Core
21   )
22
23 add_llvm_tool(llvm-jitlistener
24   llvm-jitlistener.cpp
25   )