1
0
Fork 0

sci-libs/itk: better syntax for warning

Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Horea Christian <chr@chymera.eu>
This commit is contained in:
Horea Christian 2020-08-08 03:32:11 -04:00
parent 4a06c7d44e
commit 7074d6af45
No known key found for this signature in database
GPG Key ID: EAA9223EE3BB378A
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
08 Aug 2020; <chymera@gentoo.org> files/itk-5.1.0-downloads.patch:
sci-libs/itk: better syntax for warning
*itk-5.1.0 (04 Aug 2020)
04 Aug 2020; <chymera@gentoo.org> +files/itk-5.1.0-downloads.patch,

View File

@ -5,7 +5,7 @@
macro(itk_download_attempt_check _name)
if(ITK_FORBID_DOWNLOADS)
- message(SEND_ERROR "Attempted to download ${_name} when ITK_FORBID_DOWNLOADS is ON")
+ message("Warning: Attempted to download ${_name} when ITK_FORBID_DOWNLOADS is ON")
+ message(WARNING "Attempted to download ${_name} when ITK_FORBID_DOWNLOADS is ON")
endif()
endmacro()