1
0
mirror of https://github.com/0O0o0oOoO00/Alas.git synced 2026-05-14 08:49:24 +08:00

fix: return when none options

This commit is contained in:
0O0o0oOoO00
2025-08-10 20:10:37 +08:00
parent 79a151a2e4
commit e9f43ca6ff

View File

@@ -10,6 +10,8 @@ class CMakePackageBuilder(PackageBuilder):
self.cmakelists: CMakeLists = None
def set_options(self, options):
if options is None:
return self
options_dict = asdict(options)
l = []
for k, v in options_dict.items():