diff options
author | Ralf Habacker <ralf.habacker@freenet.de> | 2023-11-02 16:48:15 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-12-19 15:00:55 (GMT) |
commit | ca5a300d7fee308a0f32bf677e4bb5d74ebbd0cc (patch) | |
tree | 47870643781ec741b668a8dd0403e0d2d34dba31 /Help/command/add_test.rst | |
parent | daf8da8c8007229490dbdf0b2cd32f0b575f3c00 (diff) | |
download | CMake-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/command/add_test.rst')
-rw-r--r-- | Help/command/add_test.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Help/command/add_test.rst b/Help/command/add_test.rst index 37b9563..557c858 100644 --- a/Help/command/add_test.rst +++ b/Help/command/add_test.rst @@ -42,6 +42,12 @@ directory the test is created in. <emulator> <command> + .. versionchanged:: 3.29 + + The emulator is used only when + :variable:`cross-compiling <CMAKE_CROSSCOMPILING>`. + See policy :policy:`CMP0158`. + * .. versionadded:: 3.29 The target's :prop_tgt:`TEST_LAUNCHER`, if set, will be |