aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fpm/src/fpm.f902
1 files changed, 1 insertions, 1 deletions
diff --git a/fpm/src/fpm.f90 b/fpm/src/fpm.f90
index 943d667..1b32cb6 100644
--- a/fpm/src/fpm.f90
+++ b/fpm/src/fpm.f90
@@ -116,7 +116,7 @@ subroutine build_model(model, settings, package, error)
end if
if (allocated(package%example)) then
call add_executable_sources(model%sources, package%example, FPM_SCOPE_EXAMPLE, &
- auto_discover=package%build%auto_executables, &
+ auto_discover=package%build%auto_examples, &
error=error)
if (allocated(error)) then