Files
CMake/Tests/RunCMake/FetchContent/CMakeLists.txt
T
Craig Scott e82e2c38c1 Tests: RunCMake.FetchContent should not always force _deps removal
To properly test some functionality, tests may rely on not clearing
things like time stamps between cmake invocations. The RunCMake
infrastructure clears the build directory by default anyway, and
tests may individually ask for that to be disabled where needed.

The line being removed here was originally added to assist with
manually re-running individual tests locally outside the control of
RunCMake. That is no longer appropriate.
2024-06-07 17:58:55 +10:00

10 lines
206 B
CMake

cmake_minimum_required(VERSION 3.9)
project(${RunCMake_TEST} NONE)
if(CMP0168 STREQUAL "NEW")
cmake_policy(SET CMP0168 NEW)
else()
cmake_policy(SET CMP0168 OLD)
endif()
include(${RunCMake_TEST}.cmake)