@@ -74,7 +74,7 @@ module fpm_command_line
74
74
logical :: prune= .true.
75
75
character (len= :),allocatable :: compiler
76
76
character (len= :),allocatable :: c_compiler
77
- character (len= :),allocatable :: cpp_compiler
77
+ character (len= :),allocatable :: cxx_compiler
78
78
character (len= :),allocatable :: archiver
79
79
character (len= :),allocatable :: profile
80
80
character (len= :),allocatable :: flag
@@ -199,7 +199,7 @@ subroutine get_command_line_settings(cmd_settings)
199
199
logical :: unix
200
200
type (fpm_install_settings), allocatable :: install_settings
201
201
character (len= :), allocatable :: common_args, compiler_args, run_args, working_dir, &
202
- & c_compiler, cpp_compiler , archiver
202
+ & c_compiler, cxx_compiler , archiver
203
203
204
204
character (len=* ), parameter :: fc_env = " FC" , cc_env = " CC" , ar_env = " AR" , &
205
205
& fflags_env = " FFLAGS" , cflags_env = " CFLAGS" , cxxflags_env = " CXXFLAGS" , ldflags_env = " LDFLAGS" , &
@@ -248,7 +248,7 @@ subroutine get_command_line_settings(cmd_settings)
248
248
' --no-prune F' // &
249
249
' --compiler "' // get_fpm_env(fc_env, fc_default)// ' "' // &
250
250
' --c-compiler "' // get_fpm_env(cc_env, cc_default)// ' "' // &
251
- ' --cpp -compiler "' // get_fpm_env(cxx_env, cxx_default)// ' "' // &
251
+ ' --cxx -compiler "' // get_fpm_env(cxx_env, cxx_default)// ' "' // &
252
252
' --archiver "' // get_fpm_env(ar_env, ar_default)// ' "' // &
253
253
' --flag:: "' // get_fpm_env(fflags_env, flags_default)// ' "' // &
254
254
' --c-flag:: "' // get_fpm_env(cflags_env, flags_default)// ' "' // &
@@ -291,7 +291,7 @@ subroutine get_command_line_settings(cmd_settings)
291
291
enddo
292
292
293
293
c_compiler = sget(' c-compiler' )
294
- cpp_compiler = sget(' cpp -compiler' )
294
+ cxx_compiler = sget(' cxx -compiler' )
295
295
archiver = sget(' archiver' )
296
296
allocate (fpm_run_settings :: cmd_settings)
297
297
val_runner= sget(' runner' )
@@ -324,7 +324,7 @@ subroutine get_command_line_settings(cmd_settings)
324
324
call check_build_vals()
325
325
326
326
c_compiler = sget(' c-compiler' )
327
- cpp_compiler = sget(' cpp -compiler' )
327
+ cxx_compiler = sget(' cxx -compiler' )
328
328
archiver = sget(' archiver' )
329
329
allocate ( fpm_build_settings :: cmd_settings )
330
330
cmd_settings= fpm_build_settings( &
@@ -479,7 +479,7 @@ subroutine get_command_line_settings(cmd_settings)
479
479
call check_build_vals()
480
480
481
481
c_compiler = sget(' c-compiler' )
482
- cpp_compiler = sget(' cpp -compiler' )
482
+ cxx_compiler = sget(' cxx -compiler' )
483
483
archiver = sget(' archiver' )
484
484
allocate (install_settings)
485
485
install_settings = fpm_install_settings(&
@@ -534,7 +534,7 @@ subroutine get_command_line_settings(cmd_settings)
534
534
enddo
535
535
536
536
c_compiler = sget(' c-compiler' )
537
- cpp_compiler = sget(' cpp -compiler' )
537
+ cxx_compiler = sget(' cxx -compiler' )
538
538
archiver = sget(' archiver' )
539
539
allocate (fpm_test_settings :: cmd_settings)
540
540
val_runner= sget(' runner' )
0 commit comments