1
0
mirror of synced 2025-01-25 12:58:40 +01:00
TheChymera-overlay/sci-libs/itk/files/itk-5.1.0-downloads.patch
Horea Christian 7074d6af45
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>
2020-08-08 03:32:11 -04:00

21 lines
925 B
Diff

--- a/CMake/ITKDownloadSetup.cmake 2020-07-30 19:03:10.330325423 -0400
+++ b/CMake/ITKDownloadSetup.cmake 2020-07-30 19:03:10.330325423 -0400
@@ -11,7 +11,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")
endif()
endmacro()
--- a/Modules/Remote/GenericLabelInterpolator.remote.cmake 2020-04-25 14:30:53.000000000 -0400
+++ b/Modules/Remote/GenericLabelInterpolator.remote.cmake 2020-04-25 14:30:53.000000000 -0400
@@ -44,6 +44,4 @@
itk_fetch_module(GenericLabelInterpolator
"A generic interpolator for multi-label images."
MODULE_COMPLIANCE_LEVEL 2
- GIT_REPOSITORY ${git_protocol}://github.com/InsightSoftwareConsortium/ITKGenericLabelInterpolator.git
- GIT_TAG b95fe46c7f4fe8002af67c67e6fe4e1f087bf6b7
)