You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(file): verify cached downloads without BM functions
The cached wrapper runs under cmake -P, so file_checksum_correct is
undefined. Hash the existing file with file(<ALGO>) and only then
include the force-download script.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
10
10
### Fixed
11
11
-**Git patch applied twice at configure:**`create_git_patch_file` then `create_git_reset_file` flushed on every register, so the log was apply → `reset --hard` → apply again. Patch is only queued; flush runs reset then patch once (on reset, or DEFER at end of `CMAKE_SOURCE_DIR` when there is no reset). A second flush for the same root is a no-op.
12
+
-**Cached download under `cmake -P`:**`file_download_cached.cmake.in` called `file_checksum_correct`, which does not exist in a script-mode process. The cache hit path now uses `file(<ALGO>)` only. Configure of a consumer that already has the tarball on disk (SQLite amalgamation) no longer dies with `Unknown CMake command "file_checksum_correct"`.
0 commit comments