]> git.proxmox.com Git - mirror_qemu.git/blobdiff - meson.build
Merge tag 'pull-riscv-to-apply-20230710-1' of https://github.com/alistair23/qemu...
[mirror_qemu.git] / meson.build
index 1ed47c779d1781fb5e90753fd297d5972e0833fa..5fcdb37a713624952e6a4548ba1e45f0f03d3905 100644 (file)
@@ -20,7 +20,7 @@ config_host = keyval.load(meson.current_build_dir() / 'config-host.mak')
 
 cc = meson.get_compiler('c')
 all_languages = ['c']
-if add_languages('cpp', required: false, native: false)
+if targetos == 'windows' and add_languages('cpp', required: false, native: false)
   all_languages += ['cpp']
   cxx = meson.get_compiler('cpp')
 endif