fix build: Compile with gcc/g++ (version agnostic)

We don't really need a strict dependency on a compiler version, though
best practice is to use the latest gcc (12).
This commit is contained in:
John Colvin committed 2022-10-11 23:19:47 -04:00
1 parent 92152a3d06
commit 4e9d3e7152
1 file changed
+1 -1
+1 -1
View File
@@ -60,7 +60,7 @@ class CMakeConfigureCommand:
def _parse_compiler(arg: str or None):
'''Parses compiler input (from cli) and returns a tuple of c, cxx compilers respectively'''
known_compilers = {
'gcc': CMakeCompilerPair('gcc', 'gcc-11', 'g++-11'),
'gcc': CMakeCompilerPair('gcc', 'gcc', 'g++'),
'clang': CMakeCompilerPair('clang', 'clang', 'clang++')
}
if arg in known_compilers: