summaryrefslogtreecommitdiffstats
path: root/cmake/modules/AddOCaml.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/modules/AddOCaml.cmake')
-rw-r--r--cmake/modules/AddOCaml.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/AddOCaml.cmake b/cmake/modules/AddOCaml.cmake
index c58ac9c..8b33332 100644
--- a/cmake/modules/AddOCaml.cmake
+++ b/cmake/modules/AddOCaml.cmake
@@ -149,7 +149,7 @@ function(add_ocaml_library name)
"-I" "${LLVM_LIBRARY_DIR}/ocaml/"
"-dump" "${bin}/${name}.odoc"
${ocaml_pkgs} ${ocaml_inputs}
- DEPENDS ${ocaml_inputs}
+ DEPENDS ${ocaml_inputs} ${ocaml_outputs}
COMMENT "Building OCaml documentation for ${name}"
VERBATIM)
OpenPOWER on IntegriCloud