[CMake] [RFC] How to use pkg-config under Windows (... and OSX)?

Alexander Neundorf a.neundorf-work at gmx.net
Tue Nov 15 12:45:46 EST 2011


On Tuesday 15 November 2011, Rolf Eike Beer wrote:
> Am Dienstag, 15. November 2011, 18:07:16 schrieb Alexander Neundorf:
> > But our (KDEs) Windows developer team says that even if pkg-config is
> > found under Windows, and even if it reports something, they actively
> > want to ignore it.
> > 
> > The reason for this is that for those packages under Windows the user
> > decides at install-time where the package will be installed, while the
> > pc-files for pkg-config have been generated at build-time with the
> > install directory the developer chose at build-time.
> > This directory chosen by the developer and hardcoded into the pc-files
> > and the actual install directory chosen by the user can very well be
> > different.
> > 
> > 5) something else...
> > 
> > Comments ?
> 
> Fix the installers to write the install paths into the .pc files?

While correct, this doesn't help anybody who has to deal with these files now.

Alex


More information about the CMake mailing list