MantisBT - CMake
View Issue Details
0014657CMakeDocumentationpublic2013-12-18 17:482014-06-02 08:37
Mateusz Loskot 
Brad King 
normalminoralways
closedfixed 
CMake 2.8.12 
CMake 3.0CMake 3.0 
0014657: TestCXXAcceptsFlag description is incorrect
The documentation of TestCXXAcceptsFlag module [1] is incorrect saying:

Macro CHECK_CXX_ACCEPTS_FLAG(FLAGS VARIABLE) -
     checks if the function exists

where the "checks if the function exists" part looks like copy-n-paste bug as it is irrelevant to this macro.

[1] http://www.cmake.org/cmake/help/v2.8.12/cmake.html#module:TestCXXAcceptsFlag [^]
No tags attached.
Issue History
2013-12-18 17:48Mateusz LoskotNew Issue
2013-12-19 10:43Brad KingNote Added: 0034821
2013-12-19 10:43Brad KingAssigned To => Brad King
2013-12-19 10:43Brad KingStatusnew => resolved
2013-12-19 10:43Brad KingResolutionopen => fixed
2013-12-19 10:43Brad KingFixed in Version => CMake 3.0
2013-12-19 10:43Brad KingTarget Version => CMake 3.0
2014-06-02 08:37Robert MaynardNote Added: 0036059
2014-06-02 08:37Robert MaynardStatusresolved => closed

Notes
(0034821)
Brad King   
2013-12-19 10:43   
I've updated the module documentation:

 TestCXXAcceptsFlag: Update documentation
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=95c705a6 [^]

I suggest using CheckCXXCompilerFlag instead.
(0036059)
Robert Maynard   
2014-06-02 08:37   
Closing resolved issues that have not been updated in more than 4 months.