Commit c73bec31 authored by Kim Nguyễn's avatar Kim Nguyễn
Browse files

Add js_of_ocaml as an optional dependency.

parent e7b33dda
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
(name cduce_jsoo_backend) (name cduce_jsoo_backend)
(public_name cduce.lib.jsoo_backend) (public_name cduce.lib.jsoo_backend)
(library_flags (-linkall)) (library_flags (-linkall))
(optional)
(libraries cduce-types cduce.lib.core) (libraries cduce-types cduce.lib.core)
(preprocess (pps js_of_ocaml-ppx)) (preprocess (pps js_of_ocaml-ppx))
) )
...@@ -42,4 +42,5 @@ depends: [ ...@@ -42,4 +42,5 @@ depends: [
] ]
depopts: [ depopts: [
"ocaml-compiler-libs" {>= "v0.9.0"} "ocaml-compiler-libs" {>= "v0.9.0"}
"js_of_ocaml" {>= "3.7.1"}
] ]
...@@ -12,4 +12,5 @@ depends: [ ...@@ -12,4 +12,5 @@ depends: [
] ]
depopts: [ depopts: [
"ocaml-compiler-libs" {>= "v0.9.0"} "ocaml-compiler-libs" {>= "v0.9.0"}
"js_of_ocaml" {>= "3.7.1"}
] ]
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
(public_name cduce.lib.js) (public_name cduce.lib.js)
(library_flags (-linkall)) (library_flags (-linkall))
(modules cduce_lib_js) (modules cduce_lib_js)
(optional)
(modes byte) (modes byte)
(libraries (libraries
cduce-types cduce-types
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment