1 # Copyright (C) 2018-2019 Intel Corporation
3 # SPDX-License-Identifier: Apache-2.0
6 function (Download from to fatal result output)
8 if((NOT EXISTS "${to}"))
9 message(STATUS "Downloading from ${from} to ${to} ...")
10 file(DOWNLOAD ${from} ${to}
16 set (${output} ${status} PARENT_SCOPE)
18 set (${output} 0 PARENT_SCOPE)
20 set(${result} "ON" PARENT_SCOPE)
24 include ("download_and_apply")
25 include ("download_and_extract")