fix artefacts

This commit is contained in:
veclavtalica
2025-02-04 00:24:01 +03:00
parent c6cbf941a2
commit 42253fc58a
2 changed files with 5 additions and 3 deletions

View File

@ -24,7 +24,7 @@ if "--release" in argv:
cmake += ["-DCMAKE_BUILD_TYPE=Release"]
# pass arbitrary arguments over
if "--" in argv:
cmake += argv[argv.find("--"):]
cmake += argv[argv.index("--")+1:]
# if no root cmake file is present, infer it from `twn.toml:game.interpreter`
if not Path("CMakeLists.txt").is_file():