mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
The RunCMake infrastructure is more well-suited to check the results of each case. It can also report more precisely what went wrong when a case fails.
12 lines
211 B
CMake
12 lines
211 B
CMake
include(common.cmake)
|
|
|
|
set(file "")
|
|
|
|
file_download()
|
|
|
|
set(file "${CMAKE_CURRENT_BINARY_DIR}/input.png")
|
|
|
|
if(NOT EXISTS "${file}")
|
|
message(FATAL_ERROR "file not downloaded to expected path:\n ${file}")
|
|
endif()
|