aboutsummaryrefslogtreecommitdiff
path: root/extension/deps/SCsub
diff options
context:
space:
mode:
Diffstat (limited to 'extension/deps/SCsub')
-rw-r--r--extension/deps/SCsub9
1 files changed, 8 insertions, 1 deletions
diff --git a/extension/deps/SCsub b/extension/deps/SCsub
index 25a3286..6a7a48d 100644
--- a/extension/deps/SCsub
+++ b/extension/deps/SCsub
@@ -9,4 +9,11 @@ def build_openvic_simulation(env):
env.Append(CPPPATH=ovsim_env.openvic_simulation["INCPATH"])
env.openvic_simulation = ovsim_env.openvic_simulation
-build_openvic_simulation(env) \ No newline at end of file
+def build_gli(env):
+ gli_includes = ["gli", "gli/external"]
+ env.gli_loader = {}
+ env.gli_loader["INCPATH"] = [env.Dir(p) for p in gli_includes]
+ env.Append(CPPPATH=env.gli_loader["INCPATH"])
+
+build_openvic_simulation(env)
+build_gli(env)