Skip to content

Commit

Permalink
test:fortran:21: fix Windows by using configure_file(copy:)
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision authored and jpakkane committed May 13, 2021
1 parent 0b2a730 commit 1730778
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test cases/fortran/21 install static/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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'
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
)
Expand Down

0 comments on commit 1730778

Please sign in to comment.