MantisBT - CMake
View Issue Details
0010451CMakeModulespublic2010-03-23 15:192016-06-10 14:31
Lysius 
Philip Lowman 
normalfeatureN/A
closedmoved 
 
 
0010451: provide DOXYGEN_VERSION with find_package(Doxygen)
It would be nice to have the version of doxygen available if it is found with find_package(Doxygen) .
I have attached a patch for Modules/FindDoxygen.cmake
No tags attached.
diff FindDoxygen.cmake.diff (722) 2010-03-23 15:19
https://public.kitware.com/Bug/file/2990/FindDoxygen.cmake.diff
patch FindDoxygen_version-checking.patch (2,059) 2010-05-15 09:44
https://public.kitware.com/Bug/file/3119/FindDoxygen_version-checking.patch
Issue History
2010-03-23 15:19LysiusNew Issue
2010-03-23 15:19LysiusFile Added: FindDoxygen.cmake.diff
2010-05-15 09:44DroscyNote Added: 0020750
2010-05-15 09:44DroscyFile Added: FindDoxygen_version-checking.patch
2011-01-17 14:55David ColeAssigned To => Philip Lowman
2011-01-17 14:55David ColeStatusnew => assigned
2011-07-25 12:15Daniel FrankeNote Added: 0027063
2011-07-26 14:12DroscyNote Added: 0027072
2016-06-10 14:27Kitware RobotNote Added: 0041671
2016-06-10 14:27Kitware RobotStatusassigned => resolved
2016-06-10 14:27Kitware RobotResolutionopen => moved
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0020750)
Droscy   
2010-05-15 09:44   
Using Lysius patch I've added support for version-checking against the installed one.

If the programmer write
find_package(Doxygen x.y.z)
in his CMake config file, the patched FindDoxygen.cmake checks if the installed version of Doxygen is equal or grater than x.y.z

(my patch includes Lysius' one)
(0027063)
Daniel Franke   
2011-07-25 12:15   
I just spent about an hour trying to figure out why

  find_package (Doxygen 1.7.4)

which results in

  -- Found Doxygen: /sw/bin/doxygen (Required is at least version "1.7.4")

during configure time, still sets DOXYGEN_FOUND and tries to build the documentation which requires features not available with the installed doxygen version.

The patch attached to this report looks a bit largish, possibly it would be sufficient to use FIND_PACKAGE_HANDLE_STANDARD_ARGS in its second mode?

Anyway, I'd appreciate if this could be implement either way. Thanks.
(0027072)
Droscy   
2011-07-26 14:12   
I wrote my patch when FIND_PACKAGE_HANDLE_STANDARD_ARGS didn't have support for version checking, with the new FIND_PACKAGE_HANDLE_STANDARD_ARGS the patch can be simplified.

The version checking in the official FindDoxygen.cmake is still missing but my patch should still work.
(0041671)
Kitware Robot   
2016-06-10 14:27   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.