cmake: subproject() supports the 'required' kwarg

pull/5985/head
Xavier Claessens 6 years ago committed by Xavier Claessens
parent 70b1391248
commit 71bfec7ec1
  1. 2
      mesonbuild/modules/cmake.py

@ -280,7 +280,7 @@ class CmakeModule(ExtensionModule):
return res
@FeatureNew('subproject', '0.51.0')
@permittedKwargs({'cmake_options'})
@permittedKwargs({'cmake_options', 'required'})
@stringArgs
def subproject(self, interpreter, state, args, kwargs):
if len(args) != 1:

Loading…
Cancel
Save