Add missing argument to _ep_write_downloadfile_script.

This commit is contained in:
David Cole 2009-08-26 06:52:43 -04:00
parent ef54a8b7b7
commit 1171bcfc69
1 changed files with 1 additions and 1 deletions

View File

@ -641,7 +641,7 @@ function(_ep_add_download_command name)
message(FATAL_ERROR "Could not extract tarball filename from url:\n ${url}") message(FATAL_ERROR "Could not extract tarball filename from url:\n ${url}")
endif() endif()
set(file ${download_dir}/${fname}) set(file ${download_dir}/${fname})
_ep_write_downloadfile_script("${stamp_dir}/download-${name}.cmake" "${url}" "${file}") _ep_write_downloadfile_script("${stamp_dir}/download-${name}.cmake" "${url}" "${file}" "")
set(cmd ${CMAKE_COMMAND} -P ${stamp_dir}/download-${name}.cmake set(cmd ${CMAKE_COMMAND} -P ${stamp_dir}/download-${name}.cmake
COMMAND) COMMAND)
set(comment "Performing download step (download and extract) for '${name}'") set(comment "Performing download step (download and extract) for '${name}'")