MantisBT - CMake
View Issue Details
0012648CMakeModulespublic2012-01-02 05:202012-07-09 06:52
Yury G. Kudryashov 
Rolf Eike Beer 
normalfeaturealways
closedfixed 
CMake 2.8.6 
CMake 2.8.8CMake 2.8.8 
0012648: FindDoxygen does not report doxygen version
Doxygen introduces new syntax from time to time, so it may be usefull to require doxygen >= x.y.z.
find_package(Doxygen)
message(STATUS "DOXYGEN_VERSION: ${DOXYGEN_VERSION}")
No tags attached.
patch doxygen-version.patch (1,447) 2012-01-02 05:20
https://public.kitware.com/Bug/file/4155/doxygen-version.patch
patch doxygen-version-r2.patch (1,405) 2012-01-02 05:25
https://public.kitware.com/Bug/file/4156/doxygen-version-r2.patch
patch doxygen-version-r3.patch (1,385) 2012-01-02 05:29
https://public.kitware.com/Bug/file/4157/doxygen-version-r3.patch
Issue History
2012-01-02 05:20Yury G. KudryashovNew Issue
2012-01-02 05:20Yury G. KudryashovFile Added: doxygen-version.patch
2012-01-02 05:24Rolf Eike BeerNote Added: 0028083
2012-01-02 05:25Yury G. KudryashovFile Added: doxygen-version-r2.patch
2012-01-02 05:29Yury G. KudryashovFile Added: doxygen-version-r3.patch
2012-01-02 05:29Yury G. KudryashovNote Added: 0028084
2012-01-02 13:30Rolf Eike BeerNote Added: 0028090
2012-01-02 13:40David ColeTarget Version => CMake 2.8.8
2012-01-02 13:57Rolf Eike BeerNote Added: 0028093
2012-01-02 14:36David ColeAssigned To => Rolf Eike Beer
2012-01-02 14:36David ColeStatusnew => assigned
2012-01-02 17:12Rolf Eike BeerStatusassigned => resolved
2012-01-02 17:12Rolf Eike BeerResolutionopen => fixed
2012-01-02 17:12Rolf Eike BeerFixed in Version => CMake 2.8.8
2012-07-09 06:51David ColeNote Added: 0029943
2012-07-09 06:52David ColeStatusresolved => closed

Notes
(0028083)
Rolf Eike Beer   
2012-01-02 05:24   
Instead of your STRING(STRIP), isn't it just enough to use EXECUTE_PROCESS(... OUTPUT_STRIP_TRAILING_WHITESPACE)?
(0028084)
Yury G. Kudryashov   
2012-01-02 05:29   
Yes, it is enough. Uploaded -r3.
(0028090)
Rolf Eike Beer   
2012-01-02 13:30   
Change pushed to next.

I've tested this, works for me with and without doxygen installed.
(0028093)
Rolf Eike Beer   
2012-01-02 13:57   
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=85d4d5e6 [^]
(0029943)
David Cole   
2012-07-09 06:51   
Closing resolved issues that have not been updated in more than 4 months.