diff options
author | Craig Scott <craig.scott@crascit.com> | 2019-11-02 04:36:37 (GMT) |
---|---|---|
committer | Craig Scott <craig.scott@crascit.com> | 2019-11-02 06:54:13 (GMT) |
commit | 0692eaf0fe00fd4bd90c2a4f107356b2bc0f9d99 (patch) | |
tree | c8b68b4c4f8d4cfc1c91ed6ec33095df5df5ba8e /Tests/RunCMake/message/warnmessage-rootdir.cmake | |
parent | c1d5d5eb11e0260ffadda0851ac844ab46b6b179 (diff) | |
download | CMake-0692eaf0fe00fd4bd90c2a4f107356b2bc0f9d99.zip CMake-0692eaf0fe00fd4bd90c2a4f107356b2bc0f9d99.tar.gz CMake-0692eaf0fe00fd4bd90c2a4f107356b2bc0f9d99.tar.bz2 |
ForceToRelativePath: Fix spurious assertion when local path is root dir
Fixes: #19909
Diffstat (limited to 'Tests/RunCMake/message/warnmessage-rootdir.cmake')
-rw-r--r-- | Tests/RunCMake/message/warnmessage-rootdir.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/message/warnmessage-rootdir.cmake b/Tests/RunCMake/message/warnmessage-rootdir.cmake new file mode 100644 index 0000000..f82efb9 --- /dev/null +++ b/Tests/RunCMake/message/warnmessage-rootdir.cmake @@ -0,0 +1,5 @@ +cmake_minimum_required(VERSION 3.15) + +# Generating the backtrace for this warning message used to trigger a +# spurious assertion when the current directory is the root directory +message(WARNING "We expect to see this warning message") |