diff --git a/cmake/modules/DownloadAndCheck.cmake b/cmake/modules/DownloadAndCheck.cmake index c66f9218aa3..3cbd9386ac1 100644 --- a/cmake/modules/DownloadAndCheck.cmake +++ b/cmake/modules/DownloadAndCheck.cmake @@ -3,7 +3,9 @@ MACRO(DOWNLOAD_AND_CHECK source destination) list(GET download_status 0 status_code) list(GET download_status 1 status_message) - if(NOT (${status_code} EQUAL 0)) + if((${status_code} EQUAL 0)) + message(STATUS "Download of \"${source}\" successful.") + else() message(FATAL_ERROR "Download of \"${source}\" failed: ${status_message}") endif() ENDMACRO() \ No newline at end of file