2023-05-23 16:38:00 +02:00

12 lines
307 B
CMake

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()