Mercurial > hg > orthanc-stone
comparison OrthancStone/Resources/Orthanc/CMake/DownloadPackage.cmake @ 1514:6e3180a1f20f
sync
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 07 Jul 2020 20:42:21 +0200 |
parents | 244ad1e4e76a |
children | 9ac2a65d4172 |
comparison
equal
deleted
inserted
replaced
1513:24068dd8c445 | 1514:6e3180a1f20f |
---|---|
1 # Orthanc - A Lightweight, RESTful DICOM Store | |
2 # Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics | |
3 # Department, University Hospital of Liege, Belgium | |
4 # Copyright (C) 2017-2020 Osimis S.A., Belgium | |
5 # | |
6 # This program is free software: you can redistribute it and/or | |
7 # modify it under the terms of the GNU Lesser General Public License | |
8 # as published by the Free Software Foundation, either version 3 of | |
9 # the License, or (at your option) any later version. | |
10 # | |
11 # This program is distributed in the hope that it will be useful, but | |
12 # WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
14 # Lesser General Public License for more details. | |
15 # | |
16 # You should have received a copy of the GNU Lesser General Public | |
17 # License along with this program. If not, see | |
18 # <http://www.gnu.org/licenses/>. | |
19 | |
20 | |
1 macro(GetUrlFilename TargetVariable Url) | 21 macro(GetUrlFilename TargetVariable Url) |
2 string(REGEX REPLACE "^.*/" "" ${TargetVariable} "${Url}") | 22 string(REGEX REPLACE "^.*/" "" ${TargetVariable} "${Url}") |
3 endmacro() | 23 endmacro() |
4 | 24 |
5 | 25 |