# HG changeset patch # User Sebastien Jodogne # Date 1579799944 -3600 # Node ID 20bb2a2eeb1eb99c37d8f14386208eeab4b78325 # Parent dfec31bf370f91483cac911013d809a01aba2792 sync diff -r dfec31bf370f -r 20bb2a2eeb1e Resources/Orthanc/DownloadOrthancFramework.cmake --- a/Resources/Orthanc/DownloadOrthancFramework.cmake Thu Jan 23 16:05:31 2020 +0100 +++ b/Resources/Orthanc/DownloadOrthancFramework.cmake Thu Jan 23 18:19:04 2020 +0100 @@ -110,6 +110,8 @@ set(ORTHANC_FRAMEWORK_MD5 "3c29de1e289b5472342947168f0105c0") elseif (ORTHANC_FRAMEWORK_VERSION STREQUAL "1.5.7") set(ORTHANC_FRAMEWORK_MD5 "e1b76f01116d9b5d4ac8cc39980560e3") + elseif (ORTHANC_FRAMEWORK_VERSION STREQUAL "1.5.8") + set(ORTHANC_FRAMEWORK_MD5 "82323e8c49a667f658a3639ea4dbc336") endif() endif() endif() diff -r dfec31bf370f -r 20bb2a2eeb1e Resources/Orthanc/LinuxStandardBaseToolchain.cmake --- a/Resources/Orthanc/LinuxStandardBaseToolchain.cmake Thu Jan 23 16:05:31 2020 +0100 +++ b/Resources/Orthanc/LinuxStandardBaseToolchain.cmake Thu Jan 23 18:19:04 2020 +0100 @@ -31,7 +31,12 @@ # which compilers to use for C and C++ SET(CMAKE_C_COMPILER ${LSB_PATH}/bin/lsbcc) -CMAKE_FORCE_CXX_COMPILER(${LSB_PATH}/bin/lsbc++ GNU) + +if (${CMAKE_VERSION} VERSION_LESS "3.6.0") + CMAKE_FORCE_CXX_COMPILER(${LSB_PATH}/bin/lsbc++ GNU) +else() + SET(CMAKE_CXX_COMPILER ${LSB_PATH}/bin/lsbc++) +endif() # here is the target environment located SET(CMAKE_FIND_ROOT_PATH ${LSB_PATH})