[PATCH] FindSoprano.cmake - prefer locally installed version

Alexander Neundorf neundorf at kde.org
Mon May 11 20:14:59 CEST 2009


On Monday 11 May 2009, Sebastian Trüg wrote:
> The attached patch first looks for Soprano in the install prefix and only
> afterwards in the standard dirs. It is a typical problem that stuff fails
> to link since cmake tries to link against the globally installed Soprano
> instead of the local development one.
>
> May I commit?

No.

Since cmake 2.6.1 (we require 2.6.2) the FIND_XXX() commands have a 
new "HINTS" keyword, which can be used instead of PATHS. The difference is 
that the directories listed with HINTS will be searched before all other 
directories, not after.
Can you please use this ?

Alex


More information about the Kde-buildsystem mailing list