From 39335d6a7d8e097798b2e59bd53d25fa54456021 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Sat, 4 Apr 2026 23:32:10 +0200 Subject: [PATCH] build(cmake): allow ignoring deps sha Problem: Specifying an URL (e.g., Github URL for a PR commit) on the command line does not work since it will check it against the pinned checksum. Solution: Allow overriding `DEPS_IGNORE_SHA` from the command line as well. --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1236b7bbc9..2a4026a83c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -44,7 +44,9 @@ endif() # User settings #------------------------------------------------------------------------------- -set(DEPS_IGNORE_SHA FALSE) +if(NOT DEPS_IGNORE_SHA) + set(DEPS_IGNORE_SHA FALSE) +endif() #------------------------------------------------------------------------------- # Variables