From afd40232faed9fc2506ff5e46d74c6d64b54c4bc Mon Sep 17 00:00:00 2001 From: Marc Chevrier Date: Fri, 14 Apr 2023 17:19:55 +0200 Subject: Help: CMP0105 policy: clarifications --- Help/policy/CMP0105.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Help') diff --git a/Help/policy/CMP0105.rst b/Help/policy/CMP0105.rst index 097a59abb8..aadc8d6ee6 100644 --- a/Help/policy/CMP0105.rst +++ b/Help/policy/CMP0105.rst @@ -8,12 +8,13 @@ properties are now used for the device link step. In CMake 3.17 and below, link options are not used by the device link step. -The ``OLD`` behavior for this policy is to ignore the link options. +The ``OLD`` behavior for this policy is to ignore the link options during the +device link step. The ``NEW`` behavior of this policy is to use the link options during the device link step. -This policy was introduced in CMake version 3.17. Use the +This policy was introduced in CMake version 3.18. 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. -- cgit v1.2.1