[sanitizer] Improve FreeBSD ASLR detection
[llvm-project.git] / llvm / tools / llvm-jitlink / llvm-jitlink-executor / CMakeLists.txt
blob7e4570c13d81f7ddf6657ea4649f47fd0d601261
1 set(LLVM_LINK_COMPONENTS
2   OrcShared
3   OrcTargetProcess
4   Support
5   )
7 add_llvm_utility(llvm-jitlink-executor
8   llvm-jitlink-executor.cpp
10   DEPENDS
11   intrinsics_gen
14 if(${CMAKE_SYSTEM_NAME} MATCHES "Haiku")
15   target_link_libraries(llvm-jitlink-executor PRIVATE network)
16 endif()
18 if(${CMAKE_SYSTEM_NAME} MATCHES "SunOS")
19   target_link_libraries(llvm-jitlink-executor PRIVATE socket)
20 endif()
22 export_executable_symbols(llvm-jitlink-executor)