build: Add missing argument to add_languages()
We need to specify whether we want a native compiler or not.
This commit is contained in:
parent
ca1dfc7092
commit
2b095b501f
@ -112,7 +112,7 @@ foreach t : tests
|
||||
endforeach
|
||||
|
||||
# FIXME: if objc autotestkeywords_CPPFLAGS += -DHAVE_OBJC=1 -x objective-c++
|
||||
if add_languages('cpp', required: false)
|
||||
if add_languages('cpp', required: false, native: false)
|
||||
test_exe = executable('autotestkeywords',
|
||||
'autotestkeywords.cc',
|
||||
c_args : test_cargs + ['-Idummy-headers'],
|
||||
|
Loading…
Reference in New Issue
Block a user