mirror of
https://github.com/0O0o0oOoO00/Alas.git
synced 2026-05-14 13:19:25 +08:00
fix: return when none options
This commit is contained in:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user