summaryrefslogtreecommitdiff
path: root/bindings
diff options
context:
space:
mode:
authorPeter Zotov <whitequark@whitequark.org>2014-12-30 03:24:07 +0000
committerPeter Zotov <whitequark@whitequark.org>2014-12-30 03:24:07 +0000
commita2cb627a04f393c2e963e2e0902085309c3ec7a6 (patch)
treeed5dc3be1c2c79f2cd504ccc6a5b910bcb8563ba /bindings
parentf8207ac70556525b33b658639689054b207f7620 (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.txt4
-rw-r--r--bindings/ocaml/llvm/CMakeLists.txt4
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)