[CMake] My dammed problem with OSX and Qt
Brandon Van Every
bvanevery at gmail.com
Wed Jan 16 12:56:40 EST 2008
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 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".
Cheers,
Brandon Van Every
More information about the CMake
mailing list