@@ -82,7 +82,7 @@ module fpm_compiler
82
82
! > Path to the C compiler
83
83
character (len= :), allocatable :: cc
84
84
! > Path to the C++ compiler
85
- character (len= :), allocatable :: cppc
85
+ character (len= :), allocatable :: cxx
86
86
! > Print all commands
87
87
logical :: echo = .true.
88
88
! > Verbose output of command
@@ -816,7 +816,7 @@ subroutine new_compiler(self, fc, cc, cppc, echo, verbose)
816
816
self% cc = cc
817
817
else
818
818
call get_default_c_compiler(self% fc, self% cc)
819
- call get_default_cpp_compiler(self% fc, self% cppc )
819
+ call get_default_cpp_compiler(self% fc, self% cxx )
820
820
end if
821
821
end subroutine new_compiler
822
822
@@ -923,7 +923,7 @@ subroutine compile_cpp(self, input, output, args, log_file, stat)
923
923
! > Status flag
924
924
integer , intent (out ) :: stat
925
925
926
- call run(self% cppc // " -c " // input // " " // args // " -o " // output, &
926
+ call run(self% cxx // " -c " // input // " " // args // " -o " // output, &
927
927
& echo= self% echo, verbose= self% verbose, redirect= log_file, exitstat= stat)
928
928
end subroutine compile_cpp
929
929
0 commit comments