MantisBT - CMake
View Issue Details
0013014CMakeCMakepublic2012-03-02 16:092012-09-03 16:00
Michael Broutin 
Brad King 
normalminoralways
closedno change required 
CMake 2.8.7 
 
0013014: FindDoxygen.cmake doesn't look into the system PATH under windows
It seems that under MS Windows, FindDoxygen doesn't look into the PATH environnement variable, and only seeks Doxygen.exe in the registry.
The consequence is that a Doxygen installed without installer (zip distribution) cannot be used.
No tags attached.
Issue History
2012-03-02 16:09Michael BroutinNew Issue
2012-03-02 16:31Yury G. KudryashovNote Added: 0028798
2012-03-04 06:59Michael BroutinNote Added: 0028804
2012-03-05 08:58Brad KingStatusnew => resolved
2012-03-05 08:58Brad KingResolutionopen => no change required
2012-03-05 08:58Brad KingAssigned To => Brad King
2012-09-03 16:00David ColeNote Added: 0030827
2012-09-03 16:00David ColeStatusresolved => closed

Notes
(0028798)
Yury G. Kudryashov   
2012-03-02 16:31   
Find_program searches in PATH without explicit PATHS $ENV{PATH}.
Try
message("Path: $ENV{PATH}")
find_program(mydoxygen doxygen)
message("Test doxygen: ${mydoxygen}")
find_package(Doxygen)
message("Doxygen: ${DOXYGEN_EXECUTABLE}")

This will print some debug information about your system. Check that doxygen.exe can be found in the path reported by message(..)
(0028804)
Michael Broutin   
2012-03-04 06:59   
Ok, false alert... you're right :)
I give a bit more info about the context : launched compilation of Ogre3d through jenkins CI. For a reason I don't know about, the %PATH% is not the same as when I use windows myself. I don't know the specific reason, but if I manually add doxygen to PATH in the build script, everything works... case closed!
(0030827)
David Cole   
2012-09-03 16:00   
Closing resolved issues that have not been updated in more than 4 months.