aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLKedward <laurence.kedward@bristol.ac.uk>2020-10-04 10:39:17 +0100
committerLKedward <laurence.kedward@bristol.ac.uk>2020-10-04 10:39:17 +0100
commit24b115eab49e8926f4a46c28d2ad383bc3a22b31 (patch)
treee52b753035fa5fc300302412221292b2c4553a3c
parent501be367dbfdd7233d343c3fc156ecfa290a6778 (diff)
downloadfpm-24b115eab49e8926f4a46c28d2ad383bc3a22b31.tar.gz
fpm-24b115eab49e8926f4a46c28d2ad383bc3a22b31.zip
Don't pull dev dependencies of dependencies.
-rw-r--r--fpm/src/fpm.f903
1 files changed, 1 insertions, 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 "'//&