diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2021-09-16 09:29:36 -0700 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2021-09-20 01:25:21 -0400 |
| commit | 276ff0cc892fbe948018334df58bed289b14f1a2 (patch) | |
| tree | 8309b60e382c1de93da93ba638edbc36dbbe302c /test cases/fortran/7 generated | |
| parent | 99112d6c7977c8248d370165ed464a8af2d88e91 (diff) | |
| download | meson-276ff0cc892fbe948018334df58bed289b14f1a2.tar.gz | |
tests/fortran/7 generated: don't try to find a configure_file by path
Use the value returned by configure file instead. The issue that caused
this to be required is no longer present.
Diffstat (limited to 'test cases/fortran/7 generated')
| -rw-r--r-- | test cases/fortran/7 generated/meson.build | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test cases/fortran/7 generated/meson.build b/test cases/fortran/7 generated/meson.build index b555b1744..d1f483d0f 100644 --- a/test cases/fortran/7 generated/meson.build +++ b/test cases/fortran/7 generated/meson.build @@ -9,10 +9,8 @@ conf_data.set('ONE', 1) conf_data.set('TWO', 2) conf_data.set('THREE', 3) -configure_file(input : 'mod3.fpp', output : 'mod3.f90', configuration : conf_data) -# Manually build absolute path to source file to test -# https://github.com/mesonbuild/meson/issues/7265 -three = library('mod3', meson.current_build_dir() / 'mod3.f90') +mod3_f = configure_file(input : 'mod3.fpp', output : 'mod3.f90', configuration : conf_data) +three = library('mod3', mod3_f) templates_basenames = ['mod2', 'mod1'] generated_sources = [] |
