Mercurial > hg > orthanc
comparison Resources/DownloadOrthancFramework.cmake @ 2532:c35202c8c0db
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 16 Apr 2018 17:07:37 +0200 |
parents | b7ed112ce56e |
children | e7f86a9f0f79 |
comparison
equal
deleted
inserted
replaced
2531:b7ed112ce56e | 2532:c35202c8c0db |
---|---|
43 endif() | 43 endif() |
44 | 44 |
45 | 45 |
46 if (ORTHANC_FRAMEWORK_SOURCE STREQUAL "hg" OR | 46 if (ORTHANC_FRAMEWORK_SOURCE STREQUAL "hg" OR |
47 ORTHANC_FRAMEWORK_SOURCE STREQUAL "web") | 47 ORTHANC_FRAMEWORK_SOURCE STREQUAL "web") |
48 if (NOT ALLOW_DOWNLOADS) | 48 if (NOT STATIC_BUILD AND |
49 NOT ALLOW_DOWNLOADS) | |
49 message(FATAL_ERROR "CMake is not allowed to download from Internet. Please set the ALLOW_DOWNLOADS option to ON") | 50 message(FATAL_ERROR "CMake is not allowed to download from Internet. Please set the ALLOW_DOWNLOADS option to ON") |
50 endif() | 51 endif() |
51 endif() | 52 endif() |
52 | 53 |
53 | 54 |