Skip to content

Commit

Permalink
Make build work with older ocaml versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
kape1395 committed Oct 14, 2023
1 parent 6e10b14 commit 7516c48
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lsp/bin/dune
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@
(name tlapm_lsp)
(public_name tlapm_lsp)
(optional) ; Only build, if eio is available, which is only the case for ocaml > 5.
(enabled_if
(>= %{ocaml_version}, "5.0.0"))
(libraries tlapm_lsp_lib eio_main cmdliner))
2 changes: 2 additions & 0 deletions lsp/lib/dune
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
(library
(name tlapm_lsp_lib)
(optional) ; Only build, if eio is available, which is only the case for ocaml > 5.
(enabled_if
(>= %{ocaml_version}, "5.0.0"))
(libraries tlapm_lib lsp eio_main dune-build-info re2)
(inline_tests
(deps "../test/tlapm_mock.sh" "../../src/tlapm.exe"))
Expand Down

0 comments on commit 7516c48

Please sign in to comment.