From 91857e0423b73c8194f3edccf5f072985ba4a11c Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 13 Aug 2014 10:59:30 -0400 Subject: [PATCH] CMP0022: Fix version documented to support LINK_PUBLIC/LINK_PRIVATE These have been available since 2.8.7, not 2.8.9 as the docs said. --- Help/policy/CMP0022.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Help/policy/CMP0022.rst b/Help/policy/CMP0022.rst index 16a5bc375..22c7c4fdc 100644 --- a/Help/policy/CMP0022.rst +++ b/Help/policy/CMP0022.rst @@ -22,7 +22,7 @@ downstream users of CMake versions older than 2.8.12. The target_link_libraries command will no longer populate the properties matching LINK_INTERFACE_LIBRARIES(_)? if this policy is NEW. -Warning-free future-compatible code which works with CMake 2.8.9 onwards +Warning-free future-compatible code which works with CMake 2.8.7 onwards can be written by using the ``LINK_PRIVATE`` and ``LINK_PUBLIC`` keywords of :command:`target_link_libraries`.