If you explicitly set the enable-landlock flag, configure will fail when the feature doesn't compile.
See: https://cmake.org/cmake/help/latest/command/option.html
If you explicitly set the enable-landlock flag, configure will fail when the feature doesn't compile.