diff options
author | LKedward <laurence.kedward@bristol.ac.uk> | 2021-11-20 15:05:59 +0000 |
---|---|---|
committer | LKedward <laurence.kedward@bristol.ac.uk> | 2021-11-20 15:05:59 +0000 |
commit | 86de17371d989595c82488ebe948a870ac36bd68 (patch) | |
tree | 522477aaa3b1314784dca10917c0aa6c1e815bda /src/fpm_targets.f90 | |
parent | 09ec9422077851171e220883de810ac6c38e67ed (diff) | |
download | fpm-86de17371d989595c82488ebe948a870ac36bd68.tar.gz fpm-86de17371d989595c82488ebe948a870ac36bd68.zip |
Don't try to install submodule files
Diffstat (limited to 'src/fpm_targets.f90')
-rw-r--r-- | src/fpm_targets.f90 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fpm_targets.f90 b/src/fpm_targets.f90 index 5f3fbaf..7ea815b 100644 --- a/src/fpm_targets.f90 +++ b/src/fpm_targets.f90 @@ -687,6 +687,7 @@ subroutine filter_modules(targets, list) do i = 1, size(targets) associate(target => targets(i)%ptr) if (.not.allocated(target%source)) cycle + if (target%source%unit_type == FPM_UNIT_SUBMODULE) cycle if (n + size(target%source%modules_provided) >= size(list)) call resize(list) do j = 1, size(target%source%modules_provided) n = n + 1 |