mirror of
https://github.com/encounter/dtk-template.git
synced 2025-09-21 09:59:36 +00:00
Fix dtk binary feature (#18)
This commit is contained in:
parent
95c866aa9d
commit
0be47a04f7
@ -244,7 +244,9 @@ def generate_build_ninja(
|
||||
deps="gcc",
|
||||
)
|
||||
|
||||
if config.dtk_path:
|
||||
if config.dtk_path is not None and config.dtk_path.is_file():
|
||||
dtk = config.dtk_path
|
||||
elif config.dtk_path is not None:
|
||||
dtk = build_tools_path / "release" / f"dtk{EXE}"
|
||||
n.rule(
|
||||
name="cargo",
|
||||
|
Loading…
x
Reference in New Issue
Block a user