The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=15594 
====================================================================== 
Reported By:                Erik Sjölund
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15594
Category:                   Documentation
Reproducibility:            N/A
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-05-29 10:13 EDT
Last Modified:              2015-05-29 10:13 EDT
====================================================================== 
Summary:                    Fix a bug in cmake-compile-features(7) manual :
Replace target_link_libraries() with target_include_directories()
Description: 

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.

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-05-29 10:13 Erik Sjölund   New Issue                                    
2015-05-29 10:13 Erik Sjölund   File Added: patch.txt                        
======================================================================

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to