blob: dc234b27be390cf6f96a6816d6cd2a3df37cf61c (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
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()
|