On 02.03.2011, at 18:20, Robert Bielik <robert.bie...@xponaut.se> wrote:
> Michael Jackson skrev 2011-03-02 18:14: >> In case you didn't happen to find this article: >> >> >> http://developer.apple.com/library/mac/#documentation/DeveloperTools/Conceptual/CppRuntimeEnv/Articles/LibCPPDeployment.html > > Thanks! Have a vague memory of having seen that page before. But it doesn't > contain the info I was after, remember, this is a CMake list... ;) > > All the best, > /Rob Then you haven't read it.., It contains exactly that information. You need to set the LINKER_LANGUAGE (or similar, can't remember) property to C and then link against stdc++-static (MUST be the last library!). IMHO you don't need the -shared-libgcc flag, as it should be the default. HTH Michael _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake