<div dir="ltr"><div><div><div><div>> <font size="3">Linux does not understand '(' in name of files and directories; e.g.</font><br><font size="3"><br></font></div><font size="3">actually it does. (and Bash != Linux). Anyway, just like a space symbol, you can quote argument w/ braces:<br><br></font></div><font size="3">$ mkdir -p '/tmp/Just Test (it)'<br><br></font></div><font size="3">and
 everything will be fine. As for the code mentioned, all paths are quoted here, 
so CMake should see the correct paths here.<br></font></div><font size="3">To get more details please try to run cmake w/ `--trace-expand` and maybe w/ `--trace-source=FindDoxygen.cmake` options.<br></font></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 26, 2017 at 7:05 PM, Serban Maerean <span dir="ltr"><<a href="mailto:serban@us.ibm.com" target="_blank">serban@us.ibm.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><font size="3">Hi,</font><br><font size="3"><br>I get a hang in the "file" command in FindDoxygen.cmake, on ppc64le:</font><br><font size="3"><br>103 set(_x86 "(x86)")<br>104 file(GLOB _Doxygen_GRAPHVIZ_BIN_DIRS<br>105   "$ENV{ProgramFiles}/Graphviz*<wbr>/bin"<br>106   "$ENV{ProgramFiles${_x86}}/<wbr>Graphviz*/bin"<br>107   )<br>108 unset(_x86)<br><br>Linux does not understand '(' in name of files and directories; e.g.</font><br><font size="3"><br>--> find /ProgramFiles(x86)/Graphviz*/<wbr>bin<br>-bash: syntax error near unexpected token `('</font><br><font size="2" face="sans-serif"><br>and it appears the "file" command goes into a wild spin (never
returns.)</font><br><br><font size="2" face="sans-serif">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.</font><br><br><font size="2" face="sans-serif">Thanks,</font><br><br><font size="2" face="sans-serif"><br>Serban Maerean<br>HPC Tools<br>T/L: 293-9770, Tel.: 845-433-9770<br>E-mail: <a href="mailto:serban@us.ibm.com" target="_blank">serban@us.ibm.com</a> </font><br><br>--<br>
<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" rel="noreferrer" target="_blank">http://www.cmake.org/Wiki/<wbr>CMake_FAQ</a><br>
<br>
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br>
<br>
CMake Support: <a href="http://cmake.org/cmake/help/support.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/<wbr>support.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/<wbr>consulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/<wbr>training.html</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/cmake" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/cmake</a><br></blockquote></div><br></div>