1 # Copyright (C) 2018-2019 Intel Corporation
2 # SPDX-License-Identifier: Apache-2.0
5 function (Download from to fatal result output)
7 if((NOT EXISTS "${to}"))
8 message(STATUS "Downloading from ${from} to ${to} ...")
9 file(DOWNLOAD ${from} ${to}
15 set (${output} ${status} PARENT_SCOPE)
17 set (${output} 0 PARENT_SCOPE)
19 set(${result} "ON" PARENT_SCOPE)
23 include ("download_and_apply")
24 include ("download_and_extract")