[Piglit] [PATCH 2/4] cmake: Don't rely on pkg-config for all Windows builds.
Emil Velikov
emil.l.velikov at gmail.com
Mon Dec 15 11:47:14 PST 2014
On 15/12/14 12:19, Jose Fonseca wrote:
> From: José Fonseca <jfonseca at vmware.com>
>
> Instead of just MSVC builds.
>
> Because pkg-config is not commonly available when compiling natively on
> Windows, and gives the wrong results (the host package instead of target
> package) when cross-compiling to Windows.
Short version:
Also might be worth checking Dylan's fixes (touching both waffle and
piglit). And then build on top if needed.
Longer version:
Don't know about native non-msvc builds, but cygwin had pkg-config which
was working fine. I've not tried waffle or piglit with cygwin.
The cross-compiling issue is likely to be caused by
something/miss-configured in your "toolchain" file. Take a look/install
the mingw-w64-cmake [1].
Cheers,
Emil
[1] https://aur.archlinux.org/packages/mingw-w64-cmake/
More information about the Piglit
mailing list