aboutsummaryrefslogtreecommitdiffstats
path: root/bindings/ocaml/llvm/CMakeLists.txt
blob: 4956fa4dade30f99fc0ca6d7601ad462d884c2a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
add_ocaml_library(llvm
  OCAML llvm
  C     llvm_ocaml
  LLVM  core support)

configure_file(
  "${CMAKE_CURRENT_SOURCE_DIR}/META.llvm.in"
  "${LLVM_LIBRARY_DIR}/ocaml/META.llvm")

install(FILES "${LLVM_LIBRARY_DIR}/ocaml/META.llvm"
        DESTINATION lib/ocaml)