[Cmake] How to use g++ link C file and c++ libraries?

Peter Vanroose Peter . Vanroose at esat . kuleuven . ac . be
Thu, 18 Sep 2003 20:38:13 +0200 (CEST)


> we can set it somewhere in CMake to tell CMake that this is a project with
> mixture of c and c++ and should do linking using g++.

I suppose that it should suffice to change the line

	CMAKE_C_LINK_SHARED:STRING=gcc

in CMakeCache.txt to

	CMAKE_C_LINK_SHARED:STRING=c++


--	 Peter Vanroose.