Closed kkirstein closed 3 years ago
I think, I found the wrapper source: https://github.com/fdopen/depext-cygwinports/blob/master/symlink.c
but so far can't figure out, what's going wrong.
For sake of completeness, the cross-compile pkg-config
also reports version correctly:
$ /usr/bin/x86_64-w64-mingw32-pkg-config --version
1.6.3
For my cmake config I found a workaround by set(PKG_CONFIG_EXECUTABLE /usr/bin/x86_64-w64-mingw32-pkg-config)
.
Anyway, would be interesting, why the wrapper fails.
Yes, it works with depext-cygwinport
0.0.8
. Thanks for the fast fix!
cmake queries the version info of pkg-config in its detection script. Unfortunately, the
pkg-config
wrapper in the opam setup does not correctly report that:The 'cygwin' version responds correctly:
Couldn't find the sources for the wrapper anywhere on Github to have a look at it myself.