[Cmake] How to force linking with C++ compiler given C code?

Douglas Gregor gregod at cs . rpi . edu
Thu, 18 Dec 2003 16:47:35 -0500


Hi Andy,

On Thursday 18 December 2003 01:36 pm, Andy Cedilnik wrote:
> Try the following:
>
> echo "" > foo.cxx
>
> and then change
> ADD_EXECUTABLE(hello_prog main.c foo.cxx)

That works fine. Thanks.

> I think that is the only way for now. Can you add a bug to the bug
> tracker?

Will do.

	Doug