[CMake] MSYS2 broken CMAKE_PREFIX_PATH

Mario Emmenlauer mario at emmenlauer.de
Mon Feb 12 07:06:56 EST 2018


Hi,

ok I agree it might be cleaner to use Windows-style paths for all
cmake parameters on MSYS2. I changed my CI and everything works! :-)

But just as a side comment: It would be super cool if cmake would
support both styles for all parameters. The typical use on MSYS2 for
many commands is with Unix paths, and its great that cmake already
supports this so nicely. It really made things easier for me!

If its not a huge effort it would be great to have the same behaviour
also for the package configs.

Cheers and thanks,

   Mario




On 12.02.2018 10:23, Alan W. Irwin wrote:
> On 2018-02-12 09:32+0100 Mario Emmenlauer wrote:
> 
> [...]
>>> Hi Mario:
>>>
>>> From <https://github.com/msys2/msys2/wiki/MSYS2-introduction>, and
>>> what you said above it appears you are using the "native Windows"
>>> cmake version from the mingw64 repository rather than the POSIX-style
>>> cmake package you can install from the msys2 repository.  I am pretty
>>
>> Hmm, I don't think I have a native Windows cmake installed.
> 
> As Marc said in his post, be aware of the dual nature of this
> platform. One side (the mingw64 repository) supplies native Windows
> packages while the other (the msys2 repository) supplies a much
> smaller number of Unix-like packages.  CMake packages happen to be in
> both repositories!
> 
> Alan
> __________________________
> Alan W. Irwin
> 
> Astronomical research affiliation with Department of Physics and Astronomy,
> University of Victoria (astrowww.phys.uvic.ca).
> 
> Programming affiliations with the FreeEOS equation-of-state
> implementation for stellar interiors (freeeos.sf.net); the Time
> Ephemerides project (timeephem.sf.net); PLplot scientific plotting
> software package (plplot.sf.net); the libLASi project
> (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
> and the Linux Brochure Project (lbproject.sf.net).
> __________________________
> 
> Linux-powered Science
> __________________________
> 



Viele Gruesse,

    Mario Emmenlauer


--
BioDataAnalysis GmbH, Mario Emmenlauer      Tel. Buero: +49-89-74677203
Balanstr. 43                   mailto: memmenlauer * biodataanalysis.de
D-81669 München                          http://www.biodataanalysis.de/


More information about the CMake mailing list