]> granicus.if.org Git - llvm/commit
[cmake] [OCaml] Make ocamldoc targets depend on output files
authorPeter Zotov <whitequark@whitequark.org>
Sun, 7 Jun 2015 19:22:22 +0000 (19:22 +0000)
committerPeter Zotov <whitequark@whitequark.org>
Sun, 7 Jun 2015 19:22:22 +0000 (19:22 +0000)
commit00040a8e8fbd943ee7e8ff12db4a1ba9e2ff2679
tree6888399587e43fa0dd0b3f383ba8c54e545f8c23
parent4c4f0921dc5f3712043ff1a7a0a21f7a80dba104
[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
cmake/modules/AddOCaml.cmake