Re: [CMake] Adding static libraries

2007-12-13 Thread Steven Van Ingelgem
Well, as far as I know you can take the .a-file with linking to the full path... I don't know why CMake doesn't keep the parameters I give them? Probably if I add the libraries to the linking variables, it would take them, but that's not the point :S... If I pass CMake a full static path, I expect

Re: [CMake] Adding static libraries

2007-12-13 Thread James Bigler
The mac linker is unique in how it searches for libraries. The linker will *always* pick the shared library over the static one if it finds a shared one first or at the same time. Also the order it searches the library path list is different than on other *nix systems. By default the link

[CMake] Adding static libraries

2007-12-13 Thread Steven Van Ingelgem
Hi, I was talking to Miguel about the recent FindwxWidgets changes because they didn't work out on for static libraries on a Mac. Summarizing the issue is that CMake makes the (wrong) assumption that what you want to add are shared libraries (at least on a Mac). Let me explain in more detail wh