[Cmake-commits] CMake branch, next, updated. v3.2.2-3247-ge9c8f66

Brad King brad.king at kitware.com
Fri May 29 11:26:00 EDT 2015


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, next has been updated
       via  e9c8f66b3d7800d8db5129a666dcf9849c167ed1 (commit)
       via  a9b1838f97af5fbc377a4cceb2bb503b57ce5eb4 (commit)
       via  49959d7a23a8b1261e3120643ee189869d552929 (commit)
      from  9a9d15cc2be5a314e3156f2e7b2a173cc9b4f4e1 (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 -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e9c8f66b3d7800d8db5129a666dcf9849c167ed1
commit e9c8f66b3d7800d8db5129a666dcf9849c167ed1
Merge: 9a9d15c a9b1838
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Fri May 29 11:25:59 2015 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Fri May 29 11:25:59 2015 -0400

    Merge topic 'doc-cmake-compile-features-typo' into next
    
    a9b1838f Help: Fix typo in cmake-compile-features(7) manual (#15594)
    49959d7a CMake Nightly Date Stamp


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a9b1838f97af5fbc377a4cceb2bb503b57ce5eb4
commit a9b1838f97af5fbc377a4cceb2bb503b57ce5eb4
Author:     Erik Sjölund <erik.sjolund at gmail.com>
AuthorDate: Fri May 29 15:16:32 2015 +0200
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Fri May 29 11:23:37 2015 -0400

    Help: Fix typo in cmake-compile-features(7) manual (#15594)
    
    target_link_libraries() is being used in the example code but
    target_include_directories() was probably meant to be used. The sentence
    that starts with "Consuming code then" indicates that the example is
    about using the appropriate include directory.

diff --git a/Help/manual/cmake-compile-features.7.rst b/Help/manual/cmake-compile-features.7.rst
index 46a5afb..caf5bac 100644
--- a/Help/manual/cmake-compile-features.7.rst
+++ b/Help/manual/cmake-compile-features.7.rst
@@ -278,7 +278,7 @@ properties:
   add_library(foo INTERFACE)
   set(with_variadics ${CMAKE_CURRENT_SOURCE_DIR}/with_variadics)
   set(no_variadics ${CMAKE_CURRENT_SOURCE_DIR}/no_variadics)
-  target_link_libraries(foo
+  target_include_directories(foo
     INTERFACE
       "$<$<COMPILE_FEATURES:cxx_variadic_templates>:${with_variadics}>"
       "$<$<NOT:$<COMPILE_FEATURES:cxx_variadic_templates>>:${no_variadics}>"

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

Summary of changes:
 Help/manual/cmake-compile-features.7.rst |    2 +-
 Source/CMakeVersion.cmake                |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list