blob: 584b8073bd0978f5a1d60243bcd1e713e89b784d [file] [log] [blame]
Éanna Ó Catháin919c14e2020-09-14 17:36:49 +01001# Copyright © 2020 Arm Ltd and Contributors. All rights reserved.
2# SPDX-License-Identifier: MIT
3
4#Test TPIP
5set(TEST_TPIP ${DEPENDENCIES_DIR}/test)
6file(MAKE_DIRECTORY ${TEST_TPIP})
7set(TEST_TPIP_INCLUDE ${TEST_TPIP}/include)
8file(MAKE_DIRECTORY ${TEST_TPIP_INCLUDE})
9
10ExternalProject_Add(catch2-headers
11 URL https://github.com/catchorg/Catch2/releases/download/v2.11.1/catch.hpp
12 DOWNLOAD_NO_EXTRACT 1
13 CONFIGURE_COMMAND ""
14 BUILD_COMMAND ${CMAKE_COMMAND} -E copy <DOWNLOAD_DIR>/catch.hpp ${TEST_TPIP_INCLUDE}
15 INSTALL_COMMAND ""
16 )