diff options
| -rw-r--r-- | mesonbuild/environment.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py index 5640b9de3..4999be1ec 100644 --- a/mesonbuild/environment.py +++ b/mesonbuild/environment.py @@ -759,8 +759,6 @@ class Environment: for strk, v in values.items(): # Project options are always for the host machine key = self.mfilestr2key(strk, section_subproject, machine) - if key.subproject: - raise MesonException('Do not set subproject options in [built-in options] section, use [subproject:built-in options] instead.') self.options[key] = v def _set_default_options_from_env(self) -> None: |
