On 9/29/2014 3:50 PM, Alexpux wrote:
> 
> 29 сент. 2014 г., в 23:34, Wayne Stambaugh <[email protected]> 
> написал(а):
> 
>> I am having issues again with CMake path parsing.  Using the CMake
>> file() command this does not work:
>>
>> file( READ /mingw64/include/wx-3.0/wx/version.h _var)
>>
>> but this does:
>>
>> file( READ c:/msys64/mingw64/include/wx-3.0/wx/version.h _var)
>>
>> I'm running CMake with the -G "MSYS Makefiles" so msys style paths
>> should work. Msys style paths work fine on MSYS1/MinGW32 using the
>> native build of both CMake 3.0.2 and 2.8.12 so something is not quite
>> right with the way msys2 is handling paths.  Any ideas?
>>
> CMake not understand UNIX paths only full Windows path or relative paths.
> How you get "/mingw64/include/wx-3.0/wx/version.h»?

This is one of the paths returned by wx-config which is called by
FindwxWidgets.cmake.  If your assumption is correct, why do the msys
style paths work on MSYS1 and not MSYS2?  I've tried both the MSYS2
packaged version of CMake 3.0.2 and the native windows build of CMake
3.0.2 and the result is the same.  Is CMake not recognizing that it's
running in bash on MSYS2 and not correctly converting the paths?

> 
> Regards,
> Alexey.
> 
>> Thanks,
>>
>> Wayne
>>
>> ------------------------------------------------------------------------------
>> Slashdot TV.  Videos for Nerds.  Stuff that Matters.
>> http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Msys2-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/msys2-users
> 
> 



------------------------------------------------------------------------------
Slashdot TV.  Videos for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to