[cmake-developers] [CMake 0015594]: Fix a bug in cmake-compile-features(7) manual : Replace target_link_libraries() with target_include_directories()
Mantis Bug Tracker
mantis at public.kitware.com
Fri May 29 10:13:42 EDT 2015
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
======================================================================
More information about the cmake-developers
mailing list