[CMake] CMAKE_{C, CXX}_IMPLICIT_LINK_LIBRARIES being used even though Ada is the current language.

Alexander Neundorf a.neundorf-work at gmx.net
Fri Jan 3 14:48:16 EST 2014


On Friday 03 January 2014, Tom Kacvinsky wrote:
> I sent an email yesterday about -lstdc++ showing up on my link line even
> though I did not request it.  And I was getting -lc and -lm multiple times.
> 
> After much digging, I tracked it down to CMAKE_CXX_IMPLICIT_LINK_LIBRARIES
> and CMAKE_C_IMPLICIT_LINK_LIBRARIES being added to the link line, even
> though the language in effect is Ada (as set up by the PLPlot Ada support
> CMake moduels).
> 
> My question is why are these added?  Is this done by default in cmake, or
> is this a deficiency in the Ada support modules?

Ada support is not part of cmake, so it's probably an issue with the Ada 
files.

Alex



More information about the CMake mailing list