1 if ( LLVM_INCLUDE_UTILS )
2 add_subdirectory(llvm-jitlink-executor)
5 set(LLVM_LINK_COMPONENTS
7 AllTargetsDisassemblers
22 add_llvm_tool(llvm-jitlink
26 llvm-jitlink-macho.cpp
29 if(${CMAKE_SYSTEM_NAME} MATCHES "Haiku")
30 target_link_libraries(llvm-jitlink PRIVATE network)
33 if(${CMAKE_SYSTEM_NAME} MATCHES "SunOS")
34 target_link_libraries(llvm-jitlink PRIVATE socket nsl)
37 export_executable_symbols(llvm-jitlink)