mirror of
https://github.com/LCPQ/quantum_package
synced 2024-11-08 15:13:52 +01:00
12 lines
267 B
OCaml
12 lines
267 B
OCaml
|
open Core.Std;;
|
||
|
|
||
|
(** Variables related to the quantum package installation *)
|
||
|
|
||
|
let root =
|
||
|
match (Sys.getenv "QPACKAGE_ROOT") with
|
||
|
| None -> failwith "QPACKAGE_ROOT environment variable is not set.
|
||
|
Please source the quantum_package.rc file."
|
||
|
| Some x -> x
|
||
|
;;
|
||
|
|