Skip to content

meson.build: make C++ optional

Fabrice Fontaine requested to merge (removed):master into master

Remove cpp from meson project statement to make C++ optional and avoid the following build failure when the toolchain does not provide a C++ compiler:

../output-1/build/usbredir-0.11.0/meson.build:1:0: ERROR: Unknown compiler(s): [['/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-linux-g++']]
The following exception(s) were encountered:
Running "/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-linux-g++ --version" gave "[Errno 2] No such file or directory: '/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-linux-g++'"

Indeed C++ is only required for fuzzing which is already handled by meson through add_languages('cpp', required: true)

Fixes:

Signed-off-by: Fabrice Fontaine fontaine.fabrice@gmail.com

Merge request reports

Loading