Fix the -DBUILD_SHARED_LIBS=ON build.
[oota-llvm.git] / lib / ExecutionEngine / IntelJITEvents / CMakeLists.txt
index 3483088..331d214 100644 (file)
@@ -3,4 +3,6 @@ include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/.. )
 add_llvm_library(LLVMIntelJITEvents
   IntelJITEventListener.cpp
   jitprofiling.c
-  )
+
+  LINK_LIBS pthread ${CMAKE_DL_LIBS}
+)