diff options
author | Craig Scott <craig.scott@crascit.com> | 2022-06-02 01:10:27 (GMT) |
---|---|---|
committer | Craig Scott <craig.scott@crascit.com> | 2022-06-02 01:10:27 (GMT) |
commit | c2044fdf3f8bb9cd160c5629860eadba1da96b39 (patch) | |
tree | 1687e9a583b017b5846ad735ac350ee80d724544 /Tests/RunCMake/CMP0135/CMP0135-WARN-stderr.txt | |
parent | fa561c6d96e77654a12767a86ef7278cec1eff24 (diff) | |
download | CMake-c2044fdf3f8bb9cd160c5629860eadba1da96b39.zip CMake-c2044fdf3f8bb9cd160c5629860eadba1da96b39.tar.gz CMake-c2044fdf3f8bb9cd160c5629860eadba1da96b39.tar.bz2 |
FetchContent: Respect the CMP0135 policy setting
Fixes: #23560
Diffstat (limited to 'Tests/RunCMake/CMP0135/CMP0135-WARN-stderr.txt')
-rw-r--r-- | Tests/RunCMake/CMP0135/CMP0135-WARN-stderr.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0135/CMP0135-WARN-stderr.txt b/Tests/RunCMake/CMP0135/CMP0135-WARN-stderr.txt index 8ba0027..6bf944e 100644 --- a/Tests/RunCMake/CMP0135/CMP0135-WARN-stderr.txt +++ b/Tests/RunCMake/CMP0135/CMP0135-WARN-stderr.txt @@ -8,3 +8,14 @@ CMake Warning \(dev\) at .*/Modules/ExternalProject.cmake:[0-9]+ \(message\): what you want\. Update your project to the NEW behavior or specify the DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this robustness issue\. +.* +CMake Warning \(dev\) at .*/Modules/FetchContent.cmake:[0-9]+ \(message\): + The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is + not set\. The policy's OLD behavior will be used\. When using a URL + download, the timestamps of extracted files should preferably be that of + the time of extraction, otherwise code that depends on the extracted + contents might not be rebuilt if the URL changes\. The OLD behavior + preserves the timestamps from the archive instead, but this is usually not + what you want\. Update your project to the NEW behavior or specify the + DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this + robustness issue\. |