aboutsummaryrefslogtreecommitdiff
path: root/bolt/tools/llvm-bolt-fuzzer/CMakeLists.txt
blob: f21285f634bad3c4bdc265419f879f0bc33066bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
set(LLVM_LINK_COMPONENTS
  ${LLVM_TARGETS_TO_BUILD}
  )

add_llvm_fuzzer(llvm-bolt-fuzzer
  llvm-bolt-fuzzer.cpp

  DISABLE_LLVM_LINK_LLVM_DYLIB
  )

if (TARGET llvm-bolt-fuzzer)
    target_link_libraries(llvm-bolt-fuzzer PRIVATE LLVMBOLTRewrite)
endif()