change(tools): Fix pre-commit checks for tools.py

This commit is contained in:
Roland Dobai
2025-09-18 08:01:07 +02:00
parent ef878f4d25
commit 36fb960e5f

View File

@@ -646,7 +646,7 @@ def ensure_build_directory(
cache_path = os.path.join(build_dir, 'CMakeCache.txt')
cache = _parse_cmakecache(cache_path) if os.path.exists(cache_path) else {}
args.define_cache_entry.append(f'CCACHE_ENABLE={args.ccache:d}')
args.define_cache_entry.append(f'CCACHE_ENABLE={args.ccache}')
cache_cmdl = _parse_cmdl_cmakecache(args.define_cache_entry)