1 if ( LLVM_INCLUDE_UTILS )
2 add_subdirectory(llvm-jitlink-executor)
5 set(LLVM_LINK_COMPONENTS
7 AllTargetsDisassemblers
21 add_llvm_tool(llvm-jitlink
24 llvm-jitlink-macho.cpp
27 if(${CMAKE_SYSTEM_NAME} MATCHES "Haiku")
28 target_link_libraries(llvm-jitlink PRIVATE network)
31 if(${CMAKE_SYSTEM_NAME} MATCHES "SunOS")
32 target_link_libraries(llvm-jitlink PRIVATE socket nsl)
35 export_executable_symbols(llvm-jitlink)