[CMake] controlling linker

j s j.s4403 at gmail.com
Thu Jul 29 11:35:28 EDT 2010


I'm linking C++ static libraries against a c main.  On linux, cmake 2.6
tries to use gcc for the final link. cmake 2.8.1 uses g++ for the final
link.  How do I tell cmake 2.6 to use a c++ linker?

Juan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100729/d42d2196/attachment.htm>


More information about the CMake mailing list