comparison OrthancFramework/Resources/CMake/OpenSslConfiguration.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.
57 link_libraries(crypto ssl) 58 link_libraries(crypto ssl)
58 59
59 else() 60 else()
60 include(FindOpenSSL) 61 include(FindOpenSSL)
61 62
62 if (NOT ${OPENSSL_FOUND}) 63 if (NOT OPENSSL_FOUND)
63 message(FATAL_ERROR "Unable to find OpenSSL") 64 message(FATAL_ERROR "Unable to find OpenSSL")
64 endif() 65 endif()
65 66
66 include_directories(${OPENSSL_INCLUDE_DIR}) 67 include_directories(${OPENSSL_INCLUDE_DIR})
67 link_libraries(${OPENSSL_LIBRARIES}) 68 link_libraries(${OPENSSL_LIBRARIES})