Check for clang specifically by name on Windows.

pull/329/head
Jussi Pakkanen 9 years ago
parent 66ff4a0e91
commit d5bdfb5906
  1. 4
      environment.py

@ -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…
Cancel
Save