diff options
author | Peter Zotov <whitequark@whitequark.org> | 2014-12-30 03:24:07 +0000 |
---|---|---|
committer | Peter Zotov <whitequark@whitequark.org> | 2014-12-30 03:24:07 +0000 |
commit | a2cb627a04f393c2e963e2e0902085309c3ec7a6 (patch) | |
tree | ed5dc3be1c2c79f2cd504ccc6a5b910bcb8563ba /bindings | |
parent | f8207ac70556525b33b658639689054b207f7620 (diff) |
[OCaml] [cmake] Use LLVM_LIBRARY_DIR instead of LLVM_LIBRARY_OUTPUT_INTDIR.
The latter variable is internal.
Original patch by Ramkumar Ramachandra <artagnon@gmail.com>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224977 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'bindings')
-rw-r--r-- | bindings/ocaml/backends/CMakeLists.txt | 4 | ||||
-rw-r--r-- | bindings/ocaml/llvm/CMakeLists.txt | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/bindings/ocaml/backends/CMakeLists.txt b/bindings/ocaml/backends/CMakeLists.txt index b660c1d66dd..a98063895d7 100644 --- a/bindings/ocaml/backends/CMakeLists.txt +++ b/bindings/ocaml/backends/CMakeLists.txt @@ -20,8 +20,8 @@ foreach(TARGET ${LLVM_TARGETS_TO_BUILD}) configure_file( "${CMAKE_CURRENT_SOURCE_DIR}/META.llvm_backend.in" - "${LLVM_LIBRARY_OUTPUT_INTDIR}/ocaml/META.llvm_${TARGET}") + "${LLVM_LIBRARY_DIR}/ocaml/META.llvm_${TARGET}") - install(FILES "${LLVM_LIBRARY_OUTPUT_INTDIR}/ocaml/META.llvm_${TARGET}" + install(FILES "${LLVM_LIBRARY_DIR}/ocaml/META.llvm_${TARGET}" DESTINATION lib/ocaml) endforeach() diff --git a/bindings/ocaml/llvm/CMakeLists.txt b/bindings/ocaml/llvm/CMakeLists.txt index d1c4ae52736..4956fa4dade 100644 --- a/bindings/ocaml/llvm/CMakeLists.txt +++ b/bindings/ocaml/llvm/CMakeLists.txt @@ -5,7 +5,7 @@ add_ocaml_library(llvm configure_file( "${CMAKE_CURRENT_SOURCE_DIR}/META.llvm.in" - "${LLVM_LIBRARY_OUTPUT_INTDIR}/ocaml/META.llvm") + "${LLVM_LIBRARY_DIR}/ocaml/META.llvm") -install(FILES "${LLVM_LIBRARY_OUTPUT_INTDIR}/ocaml/META.llvm" +install(FILES "${LLVM_LIBRARY_DIR}/ocaml/META.llvm" DESTINATION lib/ocaml) |