18 lines
366 B
CMake
18 lines
366 B
CMake
|
include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
||
|
|
||
|
if( HAVE_LIBDL )
|
||
|
set(LLVM_INTEL_JIT_LIBS ${CMAKE_DL_LIBS})
|
||
|
endif()
|
||
|
|
||
|
set(LLVM_INTEL_JIT_LIBS ${LLVM_PTHREAD_LIB} ${LLVM_INTEL_JIT_LIBS})
|
||
|
|
||
|
|
||
|
add_llvm_library(LLVMIntelJITEvents
|
||
|
IntelJITEventListener.cpp
|
||
|
jitprofiling.c
|
||
|
|
||
|
LINK_LIBS ${LLVM_INTEL_JIT_LIBS}
|
||
|
)
|
||
|
|
||
|
add_dependencies(LLVMIntelJITEvents LLVMCodeGen)
|