Mercurial > hg > orthanc
comparison OrthancFramework/Resources/CMake/LuaConfiguration.cmake @ 5807:8279eaab0d1d attach-custom-data
merged default -> attach-custom-data
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Tue, 24 Sep 2024 11:39:52 +0200 |
parents | f7adfb22e20e |
children |
comparison
equal
deleted
inserted
replaced
5085:79f98ee4f04b | 5807:8279eaab0d1d |
---|---|
1 # Orthanc - A Lightweight, RESTful DICOM Store | 1 # Orthanc - A Lightweight, RESTful DICOM Store |
2 # Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics | 2 # Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics |
3 # Department, University Hospital of Liege, Belgium | 3 # Department, University Hospital of Liege, Belgium |
4 # Copyright (C) 2017-2022 Osimis S.A., Belgium | 4 # Copyright (C) 2017-2023 Osimis S.A., Belgium |
5 # Copyright (C) 2021-2022 Sebastien Jodogne, ICTEAM UCLouvain, Belgium | 5 # Copyright (C) 2024-2024 Orthanc Team SRL, Belgium |
6 # Copyright (C) 2021-2024 Sebastien Jodogne, ICTEAM UCLouvain, Belgium | |
6 # | 7 # |
7 # This program is free software: you can redistribute it and/or | 8 # This program is free software: you can redistribute it and/or |
8 # modify it under the terms of the GNU Lesser General Public License | 9 # modify it under the terms of the GNU Lesser General Public License |
9 # as published by the Free Software Foundation, either version 3 of | 10 # as published by the Free Software Foundation, either version 3 of |
10 # the License, or (at your option) any later version. | 11 # the License, or (at your option) any later version. |
20 | 21 |
21 | 22 |
22 if (STATIC_BUILD OR NOT USE_SYSTEM_LUA) | 23 if (STATIC_BUILD OR NOT USE_SYSTEM_LUA) |
23 SET(LUA_SOURCES_DIR ${CMAKE_BINARY_DIR}/lua-5.3.5) | 24 SET(LUA_SOURCES_DIR ${CMAKE_BINARY_DIR}/lua-5.3.5) |
24 SET(LUA_MD5 "4f4b4f323fd3514a68e0ab3da8ce3455") | 25 SET(LUA_MD5 "4f4b4f323fd3514a68e0ab3da8ce3455") |
25 SET(LUA_URL "http://orthanc.osimis.io/ThirdPartyDownloads/lua-5.3.5.tar.gz") | 26 SET(LUA_URL "https://orthanc.uclouvain.be/downloads/third-party-downloads/lua-5.3.5.tar.gz") |
26 | 27 |
27 DownloadPackage(${LUA_MD5} ${LUA_URL} "${LUA_SOURCES_DIR}") | 28 DownloadPackage(${LUA_MD5} ${LUA_URL} "${LUA_SOURCES_DIR}") |
28 | 29 |
29 if (ENABLE_LUA_MODULES) | 30 if (ENABLE_LUA_MODULES) |
30 if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR | 31 if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR |