diff options
-rw-r--r-- | fpm/src/fpm/manifest.f90 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpm/src/fpm/manifest.f90 b/fpm/src/fpm/manifest.f90 index 7e80b29..5a8f595 100644 --- a/fpm/src/fpm/manifest.f90 +++ b/fpm/src/fpm/manifest.f90 @@ -154,7 +154,7 @@ contains ! Populate example in case we find the default example directory if (.not.allocated(package%example) .and. & - exists(join_path("example","main.f90"))) then + & exists(join_path(root, "example", "main.f90"))) then allocate(package%example(1)) call default_example(package%example(1), package%name) endif |