[CMake] Correct way to link with libstdc++ from non-C++ project?

Jed Brown jed at 59A2.org
Thu Sep 15 17:04:58 EDT 2011


On Thu, Sep 15, 2011 at 18:57, Michael Wild <themiwi at gmail.com> wrote:

> Just set the LINKER_LANGUAGE target property to CXX.


This seems to be exclusive (single-valued). How can I specify that, for
example, a target containing only C sources needs to be linked as though it
also had both C++ and Fortran sources (because of leaky dependent
libraries)? (I will assume that I have found functional compilers for all
three languages.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110915/35db02ad/attachment-0001.htm>


More information about the CMake mailing list