finding libraries

William A. Hoffman billlist at nycap.rr.com
Sat Jan 28 17:55:45 CET 2006


At 12:33 AM 1/28/2006, Benjamin Reed wrote:
>out of curiosity, any ideas why I would get:
>
>  -- Found PCRE: /sw/lib/libpcre.a;/sw/lib/libpcreposix.a
>
>rather than:
>
>  -- Found PCRE: /sw/lib/libpcre.dylib;/sw/lib/libpcreposix.dylib
>
>There doesn't seem to be anything OS-specific in FindPCRE.cmake, I'm
>not really sure why it's not finding the dylibs, since they would be
>preferred.  I assume ultimately, we'd end up with -lpcre anyways, but
>if there's a case where a library was built dynamic-only, wouldn't it
>be missed?

This may be a cmake bug, and you are right at the end of the day it will
pick the dylib version at link time.   Brad or I will look into this.  

-Bill



More information about the Kde-buildsystem mailing list