build: simplify -Dnix-eval-jobs handling

Meson conveniently does lets you pass feature objects to `required :`
arguments[1], which is handy

[1]: https://mesonbuild.com/Build-options.html#features

Change-Id: I54194b235a9b3dc207f3f78e0a8c50f957e1fd1f
This commit is contained in:
Qyriad
2025-07-26 19:38:35 +00:00
parent ae64570ee4
commit 275ca3fda0
+1 -7
View File
@@ -665,10 +665,4 @@ endif
subdir('meson/clang-tidy')
if enable_nix_eval_jobs.enabled()
subproject(
'nix-eval-jobs',
# Well, it was enabled! Surely it's wanted.
required : true,
)
endif
subproject('nix-eval-jobs', required : enable_nix_eval_jobs)