aboutsummaryrefslogtreecommitdiff
path: root/src/fpm_targets.f90
diff options
context:
space:
mode:
authorJohn S. Urban <urbanjost@comcast.net>2021-07-11 18:16:52 -0400
committerJohn S. Urban <urbanjost@comcast.net>2021-07-11 18:16:52 -0400
commit87271c5a55ad6412114c4b153c1a8d0bd37156f5 (patch)
treee61837e75eeb361af0c3624a7f28169a9d06bf60 /src/fpm_targets.f90
parentcca5f83be11f40dd2be86671f8ec14a429540cc9 (diff)
downloadfpm-87271c5a55ad6412114c4b153c1a8d0bd37156f5.tar.gz
fpm-87271c5a55ad6412114c4b153c1a8d0bd37156f5.zip
some more STOP to FPM_STOP conversions
Diffstat (limited to 'src/fpm_targets.f90')
-rw-r--r--src/fpm_targets.f904
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fpm_targets.f90 b/src/fpm_targets.f90
index cf368ab..66bbdd5 100644
--- a/src/fpm_targets.f90
+++ b/src/fpm_targets.f90
@@ -25,7 +25,7 @@
!>
module fpm_targets
use iso_fortran_env, only: int64
-use fpm_error, only: error_t, fatal_error
+use fpm_error, only: error_t, fatal_error, fpm_stop
use fpm_model
use fpm_environment, only: get_os_type, OS_WINDOWS
use fpm_filesystem, only: dirname, join_path, canon_path
@@ -298,7 +298,7 @@ subroutine add_target(targets,type,output_file,source,link_libraries)
write(*,*) 'Error while building target list: duplicate output object "',&
output_file,'"'
if (present(source)) write(*,*) ' Source file: "',source%file_name,'"'
- stop 1
+ call fpm_stop(1,' ')
end if