We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95dbca1 commit 6231b2cCopy full SHA for 6231b2c
src/fpm_sources.f90
@@ -96,6 +96,7 @@ subroutine add_sources_from_dir(sources,directory,scope,with_executables,recurse
96
if (allocated(error)) return
97
98
dir_sources(i)%unit_scope = scope
99
+ allocate(dir_sources(i)%link_libraries(0))
100
101
! Exclude executables unless specified otherwise
102
exclude_source(i) = (dir_sources(i)%unit_type == FPM_UNIT_PROGRAM)
0 commit comments