MantisBT - CMake
View Issue Details
0015594CMakeDocumentationpublic2015-05-29 10:132015-11-02 09:15
Erik Sjölund 
 
normalminorN/A
closedfixed 
CMake 3.2.2 
CMake 3.3CMake 3.3 
0015594: Fix a bug in cmake-compile-features(7) manual : Replace target_link_libraries() with target_include_directories()
target_link_libraries() is being used in the example code in the cmake-compile-features(7) manual

http://www.cmake.org/cmake/help/v3.2/manual/cmake-compile-features.7.html#manual:cmake-compile-features(7) [^]

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.

A patch was uploaded together with this bug report.
No tags attached.
txt patch.txt (1,245) 2015-05-29 10:13
https://public.kitware.com/Bug/file/5464/patch.txt
Issue History
2015-05-29 10:13Erik SjölundNew Issue
2015-05-29 10:13Erik SjölundFile Added: patch.txt
2015-05-29 11:26Brad KingNote Added: 0038821
2015-05-29 11:26Brad KingStatusnew => resolved
2015-05-29 11:26Brad KingResolutionopen => fixed
2015-05-29 11:26Brad KingFixed in Version => CMake 3.3
2015-05-29 11:26Brad KingTarget Version => CMake 3.3
2015-05-29 11:26Brad KingDescription Updatedbug_revision_view_page.php?rev_id=1792#r1792
2015-11-02 09:15Robert MaynardNote Added: 0039828
2015-11-02 09:15Robert MaynardStatusresolved => closed

Notes
(0038821)
Brad King   
2015-05-29 11:26   
Applied, thanks:

 Help: Fix typo in cmake-compile-features(7) manual
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a9b1838f [^]
(0039828)
Robert Maynard   
2015-11-02 09:15   
Closing resolved issues that have not been updated in more than 4 months.