test:fortran:21: fix Windows by using configure_file(copy:)

pull/8766/head
Michael Hirsch 4 years ago committed by Jussi Pakkanen
parent 0b2a7300c0
commit 1730778974
  1. 2
      test cases/fortran/21 install static/meson.build
  2. 2
      test cases/fortran/21 install static/subprojects/static_hello/meson.build

@ -9,7 +9,7 @@ static_dep = dependency('static_hello', fallback: ['static_hello', 'static_hello
mainsrc = 'main_lib.f90'
mainsrc = configure_file(
command: [find_program('cp'), '@INPUT@', '@OUTPUT@'],
copy: true,
input: mainsrc,
output: 'main_lib_output.F90'
)

@ -2,7 +2,7 @@ project('static-hello', 'fortran')
# staticlibsource = 'static_hello.f90'
staticlibsource = configure_file(
command: [find_program('cp'), '@INPUT@', '@OUTPUT@'],
copy: true,
input: 'static_hello.f90',
output: 'static_hello_output.F90'
)

Loading…
Cancel
Save