1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/bindings/ocaml/llvm/CMakeLists.txt

13 lines
327 B
CMake
Raw Normal View History

add_ocaml_library(llvm
OCAML llvm
C llvm_ocaml
CFLAGS "-I${CMAKE_CURRENT_SOURCE_DIR}/"
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}")