View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013014CMakeCMakepublic2012-03-02 16:092012-09-03 16:00
ReporterMichael Broutin 
Assigned ToBrad King 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionno change required 
PlatformOSOS Version
Product VersionCMake 2.8.7 
Target VersionFixed in Version 
Summary0013014: FindDoxygen.cmake doesn't look into the system PATH under windows
DescriptionIt 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.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0028798)
Yury G. Kudryashov (reporter)
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 (reporter)
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 (manager)
2012-09-03 16:00

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2012-03-02 16:09 Michael Broutin New Issue
2012-03-02 16:31 Yury G. Kudryashov Note Added: 0028798
2012-03-04 06:59 Michael Broutin Note Added: 0028804
2012-03-05 08:58 Brad King Status new => resolved
2012-03-05 08:58 Brad King Resolution open => no change required
2012-03-05 08:58 Brad King Assigned To => Brad King
2012-09-03 16:00 David Cole Note Added: 0030827
2012-09-03 16:00 David Cole Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team