---------- Forwarded message ----------
From: Greg Jung <[email protected]>
Date: Wed, Nov 19, 2014 at 6:41 PM
Subject: Re: [Msys2-users] CMAKE execute_process doesn't preserve
environment variables.
To: Alexey Pavlov <[email protected]>


Thanks a lot, that works, but then I had to rename /usr/bin/pkg-config.exe
so it wouldn't be picked to call; even though my path is
/mingw64/bin:/usr/bin: etc.
What's going on there?


On Wed, Nov 19, 2014 at 5:09 PM, Alexey Pavlov <[email protected]>
wrote:

>
> > 20 нояб. 2014 г., в 3:38, Greg Jung <[email protected]> написал(а):
> >
> > I'm running cmake3.0.1 from an msys2 shell,
> > it will read the  environment variables as well as if started from msys,
> > but the reverse isn't working: execute_process lacks PKG_CONFIG_PATH
> > and so does not find pango
> >
> > include(pkg-config)
> > (0) execute: C:/msys64/usr/bin/pkg-config.exe --version
> > 0.28
> > (1): C:/msys64/usr/bin/pkg-config.exe --libs pango
> >
> > in shell screen:
> >  Package pango was not found in the pkg-config search path.
> > Perhaps you should add the directory containing `pango.pc'
> > to the PKG_CONFIG_PATH environment variable
> > No package 'pango’ found
>
> You need install mingw version of pkg-config:
> pacman -S mingw-w64-x86_64-pkg-config
>
> Regards,
> Alexey.
>
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to