Working around CMAKE brain-damage
Allan Sandfeld Jensen
kde at carewolf.com
Mon Aug 10 15:52:42 CEST 2009
On Monday 10 August 2009, Andreas Pakulat wrote:
> On 10.08.09 12:31:23, Allan Sandfeld Jensen wrote:
> >
> > What goes wrong is that, find_path and find_library search the default
> > system paths BEFORE searching the paths that you have asked it to search
> > in.
>
> Thats obviously wrong, but your patch is wrong too. What should be done is
> using the HINTS keyword instead of PATHS for the paths we receive from
> pkg-config.
>
> Also this discussion should be held on kde-buildsystem (cc'ed now), not
> kde-core-devel
>
Thanks. I somehow missed the HINTS argument to the functions. Here is the
updated cmake modules for polkitqt and qimageblitz. I am afraid however this
might be a common mistake/copy-paste spread bug.
`Allan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: findqimageblitz.diff
Type: text/x-patch
Size: 745 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20090810/2c1a17c8/attachment.diff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: findpolkit.diff
Type: text/x-patch
Size: 921 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20090810/2c1a17c8/attachment-0001.diff
More information about the Kde-buildsystem
mailing list