mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
add_test: Fix version of CMake introducing CMP0158 (to 3.29)
This was missed in commit ca5a300d7f (add_test: Honor
CROSSCOMPILING_EMULATOR only when cross-compiling, 2023-11-02) when it
slipped from the 3.28 release.
This commit is contained in:
committed by
Brad King
parent
601e16c7c5
commit
63e20653f8
@@ -25,3 +25,5 @@ This policy was introduced in CMake version 3.29. Use the
|
||||
:command:`cmake_policy` command to set it to ``OLD`` or ``NEW`` explicitly.
|
||||
Unlike many policies, CMake version |release| does *not* warn
|
||||
when this policy is not set and simply uses ``OLD`` behavior.
|
||||
|
||||
.. include:: DEPRECATED.txt
|
||||
|
||||
@@ -484,7 +484,7 @@ class cmMakefile;
|
||||
SELECT(POLICY, CMP0158, \
|
||||
"add_test() honors CMAKE_CROSSCOMPILING_EMULATOR only when " \
|
||||
"cross-compiling.", \
|
||||
3, 28, 0, cmPolicies::WARN)
|
||||
3, 29, 0, cmPolicies::WARN)
|
||||
|
||||
#define CM_SELECT_ID(F, A1, A2, A3, A4, A5, A6) F(A1)
|
||||
#define CM_FOR_EACH_POLICY_ID(POLICY) \
|
||||
|
||||
Reference in New Issue
Block a user