summaryrefslogtreecommitdiffstats
path: root/Help/release/dev
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2023-11-02 16:48:15 (GMT)
committerBrad King <brad.king@kitware.com>2023-12-19 15:00:55 (GMT)
commitca5a300d7fee308a0f32bf677e4bb5d74ebbd0cc (patch)
tree47870643781ec741b668a8dd0403e0d2d34dba31 /Help/release/dev
parentdaf8da8c8007229490dbdf0b2cd32f0b575f3c00 (diff)
downloadCMake-ca5a300d7fee308a0f32bf677e4bb5d74ebbd0cc.zip
CMake-ca5a300d7fee308a0f32bf677e4bb5d74ebbd0cc.tar.gz
CMake-ca5a300d7fee308a0f32bf677e4bb5d74ebbd0cc.tar.bz2
add_test: Honor CROSSCOMPILING_EMULATOR only when cross-compiling
Add policy CMP0158 to provide compatibility for existing projects. Fixes: #23672
Diffstat (limited to 'Help/release/dev')
-rw-r--r--Help/release/dev/cmake-test-launcher.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Help/release/dev/cmake-test-launcher.rst b/Help/release/dev/cmake-test-launcher.rst
index e97498d..a82a8ad 100644
--- a/Help/release/dev/cmake-test-launcher.rst
+++ b/Help/release/dev/cmake-test-launcher.rst
@@ -5,3 +5,7 @@ cmake-test-launcher
:prop_tgt:`TEST_LAUNCHER` target property were added to specify
a launcher to be used by executable targets when invoked by
tests added by the :command:`add_test` command.
+
+* The :command:`add_test` command now honors
+ :variable:`CMAKE_CROSSCOMPILING_EMULATOR` only when cross-compiling.
+ See policy :policy:`CMP0158`.