Download GTest if not found in system (#237)

Co-authored-by: Stanley Tsang <stanley.tsang@amd.com>
This commit is contained in:
saadrahim
2020-08-06 09:36:58 -06:00
committed by GitHub
parent d1e20b4c5e
commit 0dc019e35f
5 changed files with 291 additions and 27 deletions
+14
View File
@@ -0,0 +1,14 @@
# Distributed under the OSI-approved MIT License. See accompanying
# file LICENSE or https://github.com/Crascit/DownloadProject for details.
cmake_minimum_required(VERSION 2.8.2)
project(${DL_ARGS_PROJ}-download NONE)
include(ExternalProject)
ExternalProject_Add(${DL_ARGS_PROJ}-download
${DL_ARGS_UNPARSED_ARGUMENTS}
SOURCE_DIR "${DL_ARGS_SOURCE_DIR}"
BUILD_IN_SOURCE TRUE
TEST_COMMAND ""
)