aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpre-inst-env.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/pre-inst-env.in b/pre-inst-env.in
index 2f0dfed..9e0a1e2 100755
--- a/pre-inst-env.in
+++ b/pre-inst-env.in
@@ -4,4 +4,7 @@ export GUILE_LOAD_PATH="@CMAKE_BINARY_DIR@/scm${GUILE_LOAD_PATH:+:}${GUILE_LOAD_
export GUILE_LOAD_COMPILED_PATH="@CMAKE_BINARY_DIR@/scm${GUILE_LOAD_COMPILED_PATH:+:}${GUILE_LOAD_COMPILED_PATH}"
export LD_LIBRARY_PATH="@CMAKE_BINARY_DIR@${LD_LIBRARY_PATH:+:}${LD_LIBRARY_PATH}"
+export CPATH="@CMAKE_SOURCE_DIR@/include${CPATH:+:}${CPATH}"
+export LIBRARY_PATH="@CMAKE_BINARY_DIR@${LIBRARY_PATH:+:}${LIBRARY_PATH}"
+
exec "$@"