File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -454,6 +454,7 @@ option (LLVM_BUILD_DOCS "Build the llvm documentation." OFF)
454
454
option (LLVM_INCLUDE_DOCS "Generate build targets for llvm documentation." ON )
455
455
option (LLVM_ENABLE_DOXYGEN "Use doxygen to generate llvm API documentation." OFF )
456
456
option (LLVM_ENABLE_SPHINX "Use Sphinx to generate llvm documentation." OFF )
457
+ option (LLVM_ENABLE_OCAMLDOC "Build OCaml bindings documentation." ON )
457
458
458
459
option (LLVM_BUILD_EXTERNAL_COMPILER_RT
459
460
"Build compiler-rt as an external project." OFF )
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ if (LLVM_ENABLE_SPHINX)
115
115
endif ()
116
116
117
117
list (FIND LLVM_BINDINGS_LIST ocaml uses_ocaml )
118
- if ( NOT uses_ocaml LESS 0 )
118
+ if ( NOT uses_ocaml LESS 0 AND LLVM_ENABLE_OCAMLDOC )
119
119
set (doc_targets
120
120
ocaml_llvm
121
121
ocaml_llvm_all_backends
You can’t perform that action at this time.
0 commit comments