diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2020-03-31 12:00:26 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2020-03-31 12:00:26 +0800 |
commit | 2f64651a3f10d350a80e0c74c4655925e7cfb3cf (patch) | |
tree | 9aaacce67e0adeeb9705f39089a31ad75e62fdae | |
parent | f3e826f4d6812e74766fcd3bea62103e11d8996b (diff) | |
download | gtk+-2f64651a3f10d350a80e0c74c4655925e7cfb3cf.tar.gz |
meson.build: Fix Visual Studio builds
We need to make the C++ language available before we can access the C++
compiler object...
-rw-r--r-- | meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 44274a442c..25db8e5145 100644 --- a/meson.build +++ b/meson.build @@ -230,6 +230,7 @@ if cc.get_id() == 'msvc' ] add_project_arguments(cc.get_supported_arguments(test_cflags), language: 'c') + add_languages('cpp') cxx = meson.get_compiler('cpp') if cxx.get_id() == 'msvc' add_project_arguments(cxx.get_supported_arguments(test_cflags), language: 'cpp') |