[Cmake-commits] CMake branch, master, updated. v3.11.1-562-gc74539a

Kitware Robot kwrobot at kitware.com
Mon Apr 23 10:15:04 EDT 2018


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, master has been updated
       via  c74539aad738e7ceddaa223b0edb622724b6a2e2 (commit)
       via  d512825b64dcf796dcf5ad83fdc01dbeb0f11381 (commit)
      from  1f372ac4e52ac7de65d3fc855b280388b70203f3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c74539aad738e7ceddaa223b0edb622724b6a2e2
commit c74539aad738e7ceddaa223b0edb622724b6a2e2
Merge: 1f372ac d512825
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Mon Apr 23 14:14:28 2018 +0000
Commit:     Kitware Robot <kwrobot at kitware.com>
CommitDate: Mon Apr 23 10:14:51 2018 -0400

    Merge topic 'doc-CMP0060'
    
    d512825b64 Help: Mention CMP0060 in CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES
    
    Acked-by: Kitware Robot <kwrobot at kitware.com>
    Merge-request: !1990


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=d512825b64dcf796dcf5ad83fdc01dbeb0f11381
commit d512825b64dcf796dcf5ad83fdc01dbeb0f11381
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Fri Apr 20 09:17:33 2018 -0400
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Fri Apr 20 09:17:33 2018 -0400

    Help: Mention CMP0060 in CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES
    
    Behavior described for this variable is actually dependent on the
    `CMP0060` policy setting.  Update the documentation accordingly.

diff --git a/Help/variable/CMAKE_LANG_IMPLICIT_LINK_DIRECTORIES.rst b/Help/variable/CMAKE_LANG_IMPLICIT_LINK_DIRECTORIES.rst
index a0bd830..e9e04be 100644
--- a/Help/variable/CMAKE_LANG_IMPLICIT_LINK_DIRECTORIES.rst
+++ b/Help/variable/CMAKE_LANG_IMPLICIT_LINK_DIRECTORIES.rst
@@ -9,9 +9,12 @@ These paths are implicit linker search directories for the compiler's
 language.  CMake automatically detects these directories for each
 language and reports the results in this variable.
 
-When a library in one of these directories is given by full path to
-:command:`target_link_libraries` CMake will generate the ``-l<name>`` form on
-link lines to ensure the linker searches its implicit directories for the
-library.  Note that some toolchains read implicit directories from an
-environment variable such as ``LIBRARY_PATH`` so keep its value consistent
-when operating in a given build tree.
+Some toolchains read implicit directories from an environment variable such as
+``LIBRARY_PATH``.  If using such an environment variable, keep its value
+consistent when operating in a given build tree because CMake saves the value
+detected when first creating a build tree.
+
+If policy :policy:`CMP0060` is not set to ``NEW``, then when a library in one
+of these directories is given by full path to :command:`target_link_libraries`
+CMake will generate the ``-l<name>`` form on link lines for historical
+purposes.

-----------------------------------------------------------------------

Summary of changes:
 Help/variable/CMAKE_LANG_IMPLICIT_LINK_DIRECTORIES.rst |   15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list