meson: only check for c++ compiler once

This commit is contained in:
Tim-Philipp Müller 2017-05-21 10:49:20 +01:00
parent 74d974817f
commit df160d1989

View file

@ -67,7 +67,7 @@ base_tests = [
]
# Make sure our headers are C++ clean
if add_languages('cpp', required : false)
if have_cxx
base_tests += [
[ 'libs/gstlibscpp.cc', false, [ ] ],
]