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
2026-04-04 23:32:10 +02:00
committed by Christian Clason
parent 9927d9259d
commit 39335d6a7d

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