[CMake] Some minor issues for 2.6.0-RC-8

Miguel A. Figueroa-Villanueva miguelf at ieee.org
Wed Apr 23 09:28:45 EDT 2008


On Wed, Apr 23, 2008 at 2:18 AM, Hendrik Sattler wrote:
> Zitat von "Miguel A. Figueroa-Villanueva":
> > On Fri, Apr 18, 2008 at 10:35 AM, Bill Hoffman wrote:
> > > Alan W. Irwin wrote:
> > > > (1) In FindwxWidgets.cmake, wxWidgets_LIBRARIES is documented as
> > > > "Path to the wxWidgets libraries".  From the above result (before my
> macro
> > > > transformed it) this documentation should be changed to something like
> > > > "List of linker options to use when linking to the wxWidgets
> libraries".
> > >
> > >  Can the FindwxWidgets.cmake maintainer take a look at this?  I think
> the
> > > issue is that pkg-config is used.  So, on windows where it is not used
> then
> > > that statement is correct.
> > >
> >
> > I'm sorry for the late reply... but yes Bill is right. On Windows, we
> > look for the libraries with some find_library magic and this statement
> > is correct. On linux, it uses `wx-config --libs` output which is a
> > list of linker options.
> >
> > Maybe, I should document it as:
> >
> > wxWidgets_LIBRARIES - Path to the wxWidgets libraries in windows. For
> > unix style it includes a list of linker options.
> >
>
>  Actually, the Module should be fixed instead to do the documented thing.
> Like pkg-config, the wx-config output should be properly post-processed.
>
>  HS

I guess there are always some unhappy customers ;)

Actually, I guess this is the right thing to do... However, I think
that the redundancy should be exploited. That is, I'm willing to use
the FindPkgConfig macros/functions to post-process (even gather) the
wx-config output.

However, I'll need some time before I can implement/test all this.
Also, what does the pkg-config module do with the options: -framework,
-isysroot, -arch, etc. What is the correct thing to do with these
parameters in CMake? I would need to check this too, I suppose.

Thanks,
--Miguel


More information about the CMake mailing list