summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/spack/defaults/modules.yaml6
1 files changed, 5 insertions, 1 deletions
diff --git a/etc/spack/defaults/modules.yaml b/etc/spack/defaults/modules.yaml
index 77c976510b..5ae1b50fda 100644
--- a/etc/spack/defaults/modules.yaml
+++ b/etc/spack/defaults/modules.yaml
@@ -30,7 +30,11 @@ modules:
lib64:
- LIBRARY_PATH
include:
- - CPATH
+ - C_INCLUDE_PATH
+ - CPLUS_INCLUDE_PATH
+ # The INCLUDE env variable specifies paths to look for
+ # .mod file for Intel Fortran compilers
+ - INCLUDE
lib/pkgconfig:
- PKG_CONFIG_PATH
lib64/pkgconfig: