parent
8d907e298b
commit
f99771ce0a
|
@ -713,8 +713,6 @@ function(_ep_add_download_command name)
|
||||||
_ep_write_extractfile_script("${stamp_dir}/extract-${name}.cmake" "${file}" "${tmp_dir}" "${source_dir}")
|
_ep_write_extractfile_script("${stamp_dir}/extract-${name}.cmake" "${file}" "${tmp_dir}" "${source_dir}")
|
||||||
list(APPEND cmd ${CMAKE_COMMAND} -P ${stamp_dir}/extract-${name}.cmake)
|
list(APPEND cmd ${CMAKE_COMMAND} -P ${stamp_dir}/extract-${name}.cmake)
|
||||||
endif()
|
endif()
|
||||||
elseif(source_dir AND EXISTS "${source_dir}")
|
|
||||||
set(cmd echo Sources present at ${source_dir})
|
|
||||||
else()
|
else()
|
||||||
message(SEND_ERROR "error: no download info for '${name}' -- please specify existing SOURCE_DIR or one of URL, CVS_REPOSITORY and CVS_MODULE, SVN_REPOSITORY or DOWNLOAD_COMMAND")
|
message(SEND_ERROR "error: no download info for '${name}' -- please specify existing SOURCE_DIR or one of URL, CVS_REPOSITORY and CVS_MODULE, SVN_REPOSITORY or DOWNLOAD_COMMAND")
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue