<div dir="ltr">We have to call :<div>fixup_bundle("${CMAKE_INSTALL_PREFIX}/../test"...</div><div>to fix an optional test folder installed near the app.</div><div><br></div><div>verify_app will later compare a path like C:/program/app/../test to C:/program/test and state they are inequal while they point to the same file. </div><div>That's why I have to call <span style="font-size:12.8px">get_filename_component(path "${path}" REALPATH) just to force the convertion from </span>C:/program/app/../test to C:/program/test</div><div><br></div><div>Thanks, hope I clearified</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-03-07 19:07 GMT+01:00 Brad King <span dir="ltr"><<a href="mailto:brad.king@kitware.com" target="_blank">brad.king@kitware.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 03/04/2016 12:17 PM, Benjamin Ballet wrote:<br>
> The fail occurs during verify_app in the function gp_resolved_file_type<br>
> from module GetPrerequisites. This function test if two paths are equal<br>
> without translating them to there canonical form before.<br>
</span>[snip]<br>
>        get_filename_component(original_path "${original_lower}" PATH)<br>
>        get_filename_component(path "${lower}" PATH)<br>
> +      get_filename_component(original_path "${original_path}" REALPATH)<br>
> +      get_filename_component(path "${path}" REALPATH)<br>
<br>
This is operating on a string(TOLOWER)-converted path already.<br>
On case-sensitive filesystems it does not make sense to call<br>
REALPATH for these.  The code is doing string manipulation of<br>
the paths at this point.<br>
<br>
Please explain the case you're hitting in more detail.  How<br>
does one end up with a non-canonical path in the first place?<br>
<br>
Thanks,<br>
-Brad<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div style="text-align:-webkit-auto;font-size:medium;font-family:Helvetica;word-wrap:break-word"><strong style="font-family:'Times New Roman';font-size:16px"><b><font size="1" color="#333333" face="Verdana"><span style="font-size:7.5pt">Benjamin BALLET</span></font></b></strong><font size="1" face="Verdana"><span style="font-size:7.5pt"><br><font color="#333333">Ingénieur R&D</font></span></font></div><div style="text-align:-webkit-auto;font-size:medium;font-family:Helvetica;word-wrap:break-word"><font size="1" face="Verdana"><span style="font-size:7.5pt"><br><strong><b><font color="#0e2a69" face="Verdana">ACTIVISU</font></b></strong></span></font></div><div style="text-align:-webkit-auto;font-size:medium;font-family:Helvetica;word-wrap:break-word"><font size="1" face="Verdana"><span style="font-size:7.5pt"><font color="#999999">19, rue Klock - 92110 Clichy</font></span></font></div><div style="text-align:-webkit-auto;font-size:medium;font-family:Helvetica;word-wrap:break-word"><span style="text-align:-webkit-auto;font-size:16px;font-family:'Times New Roman'"><b><font size="1" color="#031f63" face="Arial"><span style="font-size:7.5pt">> Standard Tél</span></font></b></span><font size="1" face="Verdana" style="text-align:-webkit-auto"><span style="font-size:7.5pt"> :  01 44 69 37 37</span></font><font size="1" face="Verdana"><span style="font-size:7.5pt"><font color="#999999"><br></font></span></font></div><div dir="ltr"><span style="font-size:16px;text-align:-webkit-auto;font-family:'Times New Roman'"><b><font size="1" color="#031f63" face="Arial"><span style="font-size:7.5pt">></span></font></b></span><font size="1" face="Verdana" style="text-align:-webkit-auto"><span style="font-size:7.5pt"> <a href="http://www.activisu.com/" style="color:purple" target="_blank">www.activisu.com</a></span></font></div></div></div></div></div></div></div></div></div></div></div>
</div>