diff --git a/cmake/GetCMakeMM.cmake b/cmake/GetCMakeMM.cmake index b08f4e5..4a53f10 100644 --- a/cmake/GetCMakeMM.cmake +++ b/cmake/GetCMakeMM.cmake @@ -68,7 +68,7 @@ function(cmmm) message("${Esc}[1;35m-- [CMakeMM] Downloading CMakeMM (${CMMM_TAG}) from ${CMMM_URL}/${CMMM_TAG}/CMakeMM.cmake ${CMMM_DESTINATION}/CMakeMM-${CMMM_TAG}.cmake --${Esc}[m") endif() - #file(DOWNLOAD "${CMMM_URL}/${CMMM_TAG}/CMakeMM.cmake" "${CMMM_DESTINATION}/CMakeMM-${CMMM_TAG}.cmake" INACTIVITY_TIMEOUT "${CMMM_INACTIVITY_TIMEOUT}" LOG LOG_ STATUS CMAKECM_STATUS TIMEOUT "${CMMM_TIMEOUT}") + file(DOWNLOAD "${CMMM_URL}/${CMMM_TAG}/CMakeMM.cmake" "${CMMM_DESTINATION}/CMakeMM-${CMMM_TAG}.cmake" INACTIVITY_TIMEOUT "${CMMM_INACTIVITY_TIMEOUT}" LOG LOG_ STATUS CMAKECM_STATUS TIMEOUT "${CMMM_TIMEOUT}") list(GET CMAKECM_STATUS 0 CMAKECM_CODE) list(GET CMAKECM_STATUS 1 CMAKECM_MESSAGE) if(${CMAKECM_CODE})