[CMake] My dammed problem with OSX and Qt

Leopold Palomo-Avellaneda leo at alaxarxa.net
Wed Jan 16 13:07:20 EST 2008


A Dimecres 16 Gener 2008, Brandon Van Every va escriure:
> On Jan 16, 2008 12:45 PM, Leopold Palomo-Avellaneda <leo at alaxarxa.net> 
wrote:
> > A Dimecres 16 Gener 2008, Brandon Van Every va escriure:
> > > I wonder if this is the "Apple linker always prefers dynamic libs"
> > > problem.  Search the mailing list archives for that.
> >
> > I have this:
> >
> > add_library(${plugin} SHARED ${plugin_SRC} ${plugin_MOC_SRCS}
> >         ${plugin_UIS_H} ${plugin_SRCS} ${plugin_MOCS})
>
> Well, if you're only using shared libs and no static libs, then I have
> guessed wrongly about your problem.

:-) 
I really wanted that you had guessed correctly, but very thanks for trying it. 
I'm not a OSX programmer ...

> > I don't know what are your reffering to search in the mailing list
> > because I have done some search without any interesting result.
>
> If you do have any static libs in your build, then try the keywords
> "Apple shared static depreciated".


Nops, any static lib. I will try.

Best regards,

Leo


More information about the CMake mailing list