Mercurial > hg > orthanc-gdcm
changeset 106:4cbd0c34670c
revert
| author | Sebastien Jodogne <s.jodogne@gmail.com> |
|---|---|
| date | Mon, 01 Sep 2025 18:19:38 +0200 |
| parents | 66b8d3269070 |
| children | ef03f767d4d6 |
| files | Resources/CMake/GdcmConfiguration.cmake |
| diffstat | 1 files changed, 4 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/Resources/CMake/GdcmConfiguration.cmake Mon Sep 01 18:10:46 2025 +0200 +++ b/Resources/CMake/GdcmConfiguration.cmake Mon Sep 01 18:19:38 2025 +0200 @@ -100,12 +100,11 @@ URL_MD5 "${GDCM_MD5}" TIMEOUT 60 ${PATCH_COMMAND} # Apply patch to remove networking support (*) + CMAKE_ARGS -DCMAKE_BUILD_TYPE:STRING=${CMAKE_BUILD_TYPE} "-DCMAKE_INSTALL_PREFIX=${GDCM_INSTALL_DIR}" ${Flags} - CMAKE_ARGS - -DCMAKE_BUILD_TYPE:STRING=${CMAKE_BUILD_TYPE} - -DCMAKE_CONFIGURATION_TYPES=${CMAKE_BUILD_TYPE} # Necessary for MSVC to use the right CRT - "-DCMAKE_INSTALL_PREFIX=${GDCM_INSTALL_DIR}" - ${Flags} + # https://stackoverflow.com/a/43363395 + # The "--config" option seems not available for MSVC + INSTALL_COMMAND ${CMAKE_COMMAND} --build . --target install # --config ${CMAKE_BUILD_TYPE} ) if(MSVC)
