llvm.org GIT mirror llvm / 00040a8
[cmake] [OCaml] Make ocamldoc targets depend on output files OCaml doc builds fail without .cmi files, and .cmi files are collected in ocaml_outputs. Therefore, make doc targets depend on ocaml_outputs as well. Fixes: https://llvm.org/bugs/show_bug.cgi?id=23777 Patch by Michał Górny <mgorny@gentoo.org> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239259 91177308-0d34-0410-b5e6-96231b3b80d8 Peter Zotov 4 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
148148 "-I" "${LLVM_LIBRARY_DIR}/ocaml/"
149149 "-dump" "${bin}/${name}.odoc"
150150 ${ocaml_pkgs} ${ocaml_inputs}
151 DEPENDS ${ocaml_inputs}
151 DEPENDS ${ocaml_inputs} ${ocaml_outputs}
152152 COMMENT "Building OCaml documentation for ${name}"
153153 VERBATIM)