meson: Use cpp_args when compiling C++ sources

This commit is contained in:
Richard Hughes 2022-09-09 13:53:51 +01:00 committed by Vitaly Cheptsov
parent 55d4b4fc66
commit 8600bc3ab3

View File

@ -33,7 +33,7 @@ uefitoolcommon = static_library('uefitoolcommon',
'ustring.cpp', 'ustring.cpp',
'sha256.c', 'sha256.c',
], ],
c_args: [ cpp_args: [
'-DU_ENABLE_NVRAM_PARSING_SUPPORT', '-DU_ENABLE_NVRAM_PARSING_SUPPORT',
'-DU_ENABLE_ME_PARSING_SUPPORT', '-DU_ENABLE_ME_PARSING_SUPPORT',
'-DU_ENABLE_FIT_PARSING_SUPPORT', '-DU_ENABLE_FIT_PARSING_SUPPORT',