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.
This commit is contained in:
Christian Clason authored and Christian Clason committed 2026-04-05 00:08:56 +02:00
1 parent 9927d9259d
commit 39335d6a7d
1 file changed
+3 -1
+3 -1
View File
@@ -44,7 +44,9 @@ endif()
# User settings
#-------------------------------------------------------------------------------
set(DEPS_IGNORE_SHA FALSE)
if(NOT DEPS_IGNORE_SHA)
set(DEPS_IGNORE_SHA FALSE)
endif()
#-------------------------------------------------------------------------------
# Variables