Skip to content

Commit d2e10f2

Browse files
LKedwardawvwgk
andauthored
Update fpm/src/fpm_targets.f90
Co-authored-by: Sebastian Ehlert <[email protected]>
1 parent 664f53b commit d2e10f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fpm/src/fpm_targets.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ subroutine targets_from_sources(model)
7070
end if
7171

7272
with_lib = any([((model%packages(j)%sources(i)%unit_scope == FPM_SCOPE_LIB, &
73-
i=1,size(model%packages(j)%sources)) &
74-
,j=1,size(model%packages))])
73+
i=1,size(model%packages(j)%sources)), &
74+
j=1,size(model%packages))])
7575

7676
if (with_lib) call add_target(model%targets,type = FPM_TARGET_ARCHIVE,&
7777
output_file = join_path(model%output_directory,&

0 commit comments

Comments
 (0)