aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorRechi <Rechi@users.noreply.github.com>2018-06-22 10:00:00 +0200
committerRechi <Rechi@users.noreply.github.com>2018-06-22 10:00:00 +0200
commit0963f41cc99ec79162de106f45d5f23c87d0e2c0 (patch)
treeb268a3e58055e61134d02957b6a4cbc6edcf5694 /cmake
parent0b3feae2571fc9c7dde3c197354b3bd401c5d724 (diff)
[cmake] fix HandleDepends if only some dependencies have hash checking
Diffstat (limited to 'cmake')
-rw-r--r--cmake/scripts/common/HandleDepends.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/scripts/common/HandleDepends.cmake b/cmake/scripts/common/HandleDepends.cmake
index e7cdd2dc7e..47f7d9b768 100644
--- a/cmake/scripts/common/HandleDepends.cmake
+++ b/cmake/scripts/common/HandleDepends.cmake
@@ -239,6 +239,9 @@ function(add_addon_depends addon searchpath)
if(TARBALL_DIR)
set(DOWNLOAD_DIR ${TARBALL_DIR})
endif()
+ else()
+ unset(URL_HASH_COMMAND)
+ message(AUTHOR_WARNING "${dir}/${id}.sha256 is missing")
endif()
externalproject_add(${id}