From b12ba4b1bc9261c337304564b04e44d044248080 Mon Sep 17 00:00:00 2001 From: Michael Brockus <55331536+michaelbadcrumble@users.noreply.github.com> Date: Mon, 24 Feb 2020 11:26:51 -0800 Subject: [PATCH] fixed issue with auto-detection failing --- mesonbuild/minit.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mesonbuild/minit.py b/mesonbuild/minit.py index f2c7d9cbd..2b21ef929 100644 --- a/mesonbuild/minit.py +++ b/mesonbuild/minit.py @@ -40,7 +40,8 @@ we currently have one meson template at this time. from mesonbuild.templates.mesontemplates import create_meson_build FORTRAN_SUFFIXES = ('.f', '.for', '.F', '.f90', '.F90') -LANG_SUFFIXES = {'.c', '.cc', '.cpp', '.cs', '.cu', '.d', '.m', '.mm', '.rs', '.java'}.add(FORTRAN_SUFFIXES) +LANG_SUFFIXES = {'.c', '.cc', '.cpp', '.cs', '.cu', '.d', '.m', '.mm', '.rs', '.java'} +LANG_SUFFIXES.add(FORTRAN_SUFFIXES) LANG_SUPPORTED = {'c', 'cpp', 'cs', 'cuda', 'd', 'fortran', 'java', 'rust', 'objc', 'objcpp'} DEFAULT_PROJECT = 'executable'