Interesting problem with FindCLucene.cmake

Andreas Pakulat apaku at gmx.de
Mon Jan 14 21:02:31 CET 2008


On 14.01.08 21:33:13, Ismail Dönmez wrote:
> Monday 14 January 2008 21:18:07 tarihinde Andreas Pakulat şunları yazmıştı:
> > Well, check whats inside TRIAL_LIBRARY_PATHS, probably that throws off
> > find_path.
> 
> I didn't get what you mean by "throws off", here is the definition for 
> TRIAL_LIBRARY_PATHS :
> 
>   SET(TRIAL_LIBRARY_PATHS
>     $ENV{CLUCENE_HOME}/lib${LIB_SUFFIX}
>     ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}
>     /usr/local/lib${LIB_SUFFIX}
>     /usr/lib${LIB_SUFFIX}
>     /sw/lib${LIB_SUFFIX}
>     NO_DEFAULT_PATH
>   )

I suspect the NO_DEFAULT_PATH being the problem here, I might be wrong,
but I think with that option all /usr/include and /include entries are
ignored.

So TRIAL_LIBRARY_PATHS shouldn't contain such a special value for
find_path and co.

Andreas

-- 
You will outgrow your usefulness.


More information about the Kde-buildsystem mailing list