blob: 39df555d5e294c38afca882c20a4d6f042854790 [file] [log] [blame]
Oscar Fuentes64955952011-01-21 15:42:54 +00001# If the user required a custom path for ffi headers, use it on its
2# abolute form (see config-ix.cmake):
3if( FFI_INCLUDE_DIR )
4 include_directories( ${FFI_INCLUDE_PATH} )
5endif()
6
7# If the user required a custom path for libffi, use it on its abolute
8# form (see config-ix.cmake):
9if( FFI_LIBRARY_DIR )
10 link_directories( ${FFI_LIBRARY_PATH} )
11endif()
12
Douglas Gregor85fedbe2009-06-23 17:57:35 +000013add_llvm_library(LLVMInterpreter
Oscar Fuentesa229b3c2008-09-22 01:08:49 +000014 Execution.cpp
15 ExternalFunctions.cpp
16 Interpreter.cpp
17 )
Oscar Fuentes64955952011-01-21 15:42:54 +000018
19if( LLVM_ENABLE_FFI )
20 target_link_libraries( LLVMInterpreter ffi )
21endif()