Check for clang specifically by name on Windows.

This commit is contained in:
Jussi Pakkanen 2015-12-07 01:19:30 +02:00
parent 66ff4a0e91
commit d5bdfb5906
1 changed files with 2 additions and 2 deletions

View File

@ -79,8 +79,8 @@ class Environment():
# List of potential compilers.
if mesonlib.is_windows():
self.default_c = ['cl', 'cc', 'gcc']
self.default_cpp = ['cl', 'c++', 'g++']
self.default_c = ['cl', 'cc', 'gcc', 'clang']
self.default_cpp = ['cl', 'c++', 'g++', 'clang++']
else:
self.default_c = ['cc']
self.default_cpp = ['c++']