comparison Resources/CMake/DcmtkConfiguration.cmake @ 2502:de6eb6d0d34d

comment
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 24 Mar 2018 11:34:09 +0100
parents 3b802ac81a27
children 91ee08d986f9
comparison
equal deleted inserted replaced
2501:58e4a48c322c 2502:de6eb6d0d34d
80 if (Failure) 80 if (Failure)
81 message(FATAL_ERROR "Error while patching a file") 81 message(FATAL_ERROR "Error while patching a file")
82 endif() 82 endif()
83 83
84 else() 84 else()
85 message("Applying patch to detect mathematic primitives in DCMTK 3.6.2") 85 # "3.6.2 CXX11 fails on Linux; patch suggestions included"
86 # https://forum.dcmtk.org/viewtopic.php?f=3&t=4637
87 message("Applying patch to detect mathematic primitives in DCMTK 3.6.2 with C++11")
86 execute_process( 88 execute_process(
87 COMMAND ${PATCH_EXECUTABLE} -p0 -N -i 89 COMMAND ${PATCH_EXECUTABLE} -p0 -N -i
88 ${ORTHANC_ROOT}/Resources/Patches/dcmtk-3.6.2-cmath.patch 90 ${ORTHANC_ROOT}/Resources/Patches/dcmtk-3.6.2-cmath.patch
89 WORKING_DIRECTORY ${CMAKE_BINARY_DIR} 91 WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
90 RESULT_VARIABLE Failure 92 RESULT_VARIABLE Failure