llvm-for-llvmta/bindings/ocaml/llvm/CMakeLists.txt

12 lines
283 B
CMake
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
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 "${LLVM_OCAML_INSTALL_PATH}")