Check for clang specifically by name on Windows.
This commit is contained in:
parent
66ff4a0e91
commit
d5bdfb5906
|
@ -79,8 +79,8 @@ class Environment():
|
||||||
|
|
||||||
# List of potential compilers.
|
# List of potential compilers.
|
||||||
if mesonlib.is_windows():
|
if mesonlib.is_windows():
|
||||||
self.default_c = ['cl', 'cc', 'gcc']
|
self.default_c = ['cl', 'cc', 'gcc', 'clang']
|
||||||
self.default_cpp = ['cl', 'c++', 'g++']
|
self.default_cpp = ['cl', 'c++', 'g++', 'clang++']
|
||||||
else:
|
else:
|
||||||
self.default_c = ['cc']
|
self.default_c = ['cc']
|
||||||
self.default_cpp = ['c++']
|
self.default_cpp = ['c++']
|
||||||
|
|
Loading…
Reference in New Issue