From 24b115eab49e8926f4a46c28d2ad383bc3a22b31 Mon Sep 17 00:00:00 2001 From: LKedward Date: Sun, 4 Oct 2020 10:39:17 +0100 Subject: Don't pull dev dependencies of dependencies. --- fpm/src/fpm.f90 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fpm/src/fpm.f90 b/fpm/src/fpm.f90 index 8088225..faa3e7e 100644 --- a/fpm/src/fpm.f90 +++ b/fpm/src/fpm.f90 @@ -29,7 +29,6 @@ contains recursive subroutine add_libsources_from_package(sources,package_list,package, & package_root,dev_depends,error) ! Discover library sources in a package, recursively including dependencies - ! Only supports local path dependencies currently ! type(srcfile_t), allocatable, intent(inout), target :: sources(:) type(string_t), allocatable, intent(inout) :: package_list(:) @@ -123,7 +122,7 @@ recursive subroutine add_libsources_from_package(sources,package_list,package, & call add_libsources_from_package(sources,package_list,dependency, & package_root=dependency_path, & - dev_depends=dev_depends, error=error) + dev_depends=.false., error=error) if (allocated(error)) then error%message = 'Error while processing sources for dependency package "'//& -- cgit v1.2.3