Mercurial > hg > orthanc-gdcm
changeset 119:77903d318a6a default tip
fix msvc build
| author | Sebastien Jodogne <s.jodogne@gmail.com> |
|---|---|
| date | Wed, 21 Oct 2026 14:25:12 +0200 |
| parents | 7d2c56c86d4b |
| children | |
| files | Resources/CMake/GdcmConfiguration.cmake |
| diffstat | 1 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Resources/CMake/GdcmConfiguration.cmake Mon Aug 10 10:23:31 2026 +0200 +++ b/Resources/CMake/GdcmConfiguration.cmake Wed Oct 21 14:25:12 2026 +0200 @@ -50,8 +50,13 @@ elseif (MSVC) # In the case of "USE_LEGACY_GDCM", there is a mismatch between # the CRT that is used by the GDCM project ("/MT") and by the - # Orthanc plugin ("/MD"). We clarify by forcing to "/MD". - set(AdditionalCFlags "/MD") + # Orthanc plugin ("/MD"). We clarify by forcing to "/MT". + # + # 2026-10-21: We switched from "/MD" to "/MT", as a consequence of + # the following changeset in the Orthanc Framework that will be + # part of Orthanc 1.13.1: + # https://orthanc.uclouvain.be/hg/orthanc/rev/0dd4240ea372 + set(AdditionalCFlags "/MT") set(AdditionalCxxFlags ${AdditionalCFlags}) endif()
