You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
307 B

include(common.cmake)
# Test downloading without saving to a file.
set(file "")
file_download()
foreach(name input.png output.png TIMEOUT)
if(EXISTS "${CMAKE_CURRENT_BINARY_DIR}/${name}")
message(FATAL_ERROR "file incorrectly saved to:\n ${CMAKE_CURRENT_BINARY_DIR}/${name}")
endif()
endforeach()