changeset 228:281e340575e5 OrthancDicomWeb-0.5

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 19 Apr 2018 16:16:59 +0200
parents 18e0db6f6c52
children 511a01452b46 454ec584766d
files Resources/Orthanc/DownloadOrthancFramework.cmake
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Resources/Orthanc/DownloadOrthancFramework.cmake	Thu Apr 19 16:09:38 2018 +0200
+++ b/Resources/Orthanc/DownloadOrthancFramework.cmake	Thu Apr 19 16:16:59 2018 +0200
@@ -292,7 +292,7 @@
         message(FATAL_ERROR "Error while running the uncompression tool")
       endif()
 
-      get_filename_component(TMP_FILENAME NAME "${ORTHANC_FRAMEWORK_ARCHIVE}")
+      get_filename_component(TMP_FILENAME "${ORTHANC_FRAMEWORK_ARCHIVE}" NAME)
       string(REGEX REPLACE ".gz$" "" TMP_FILENAME2 "${TMP_FILENAME}")
 
       execute_process(