[CMake] hang in FindDoxygen.cmake on ppc64le

Serban Maerean serban at us.ibm.com
Mon Jun 26 12:05:43 EDT 2017


Hi,

I get a hang in the "file" command in FindDoxygen.cmake, on ppc64le:

103 set(_x86 "(x86)")
104 file(GLOB _Doxygen_GRAPHVIZ_BIN_DIRS
105   "$ENV{ProgramFiles}/Graphviz*/bin"
106   "$ENV{ProgramFiles${_x86}}/Graphviz*/bin"
107   )
108 unset(_x86)

Linux does not understand '(' in name of files and directories; e.g.

--> find /ProgramFiles(x86)/Graphviz*/bin
-bash: syntax error near unexpected token `('

and it appears the "file" command goes into a wild spin (never returns.)

Can this be done only for Windows?  I notice some paths are added 
regardless of platform, even if they are specific to a single platform, 
which seems to be unecessary.

Thanks,


Serban Maerean
HPC Tools
T/L: 293-9770, Tel.: 845-433-9770
E-mail: serban at us.ibm.com 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20170626/0ed517d0/attachment.html>


More information about the CMake mailing list