Fix the -DBUILD_SHARED_LIBS=ON build.
[oota-llvm.git] / tools / llvm-jitlistener / CMakeLists.txt
index d429af9..61f8420 100644 (file)
@@ -1,21 +1,25 @@
-# This tool is excluded from the CMake build if Intel JIT events are disabled.\r
-\r
-link_directories( ${LLVM_INTEL_JITEVENTS_LIBDIR} )\r
-include_directories( ${LLVM_INTEL_JITEVENTS_INCDIR} )\r
-\r
-set(LLVM_LINK_COMPONENTS\r
-  asmparser\r
-  bitreader\r
-  debuginfo\r
-  inteljitevents\r
-  interpreter\r
-  jit\r
-  mcjit\r
-  nativecodegen\r
-  object\r
-  selectiondag\r
-  )\r
-\r
-add_llvm_tool(llvm-jitlistener\r
-  llvm-jitlistener.cpp\r
-  )\r
+# This tool is excluded from the CMake build if Intel JIT events are disabled.
+
+link_directories( ${LLVM_INTEL_JITEVENTS_LIBDIR} )
+include_directories( ${LLVM_INTEL_JITEVENTS_INCDIR} )
+
+set(LLVM_LINK_COMPONENTS
+  asmparser
+  bitreader
+  DebugInfoDWARF
+  inteljitevents
+  interpreter
+  irreader
+  mcjit
+  nativecodegen
+  object
+  selectiondag
+  Support
+  ExecutionEngine
+  RuntimeDyld
+  Core
+  )
+
+add_llvm_tool(llvm-jitlistener
+  llvm-jitlistener.cpp
+  )