Re: [CMake] controlling linker

2010-07-29 Thread Eric Noulard
2010/7/29 j s : > 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? May be setting the LINKER_LANGUAGE property on the target? see http://www.cmake

[CMake] controlling linker

2010-07-29 Thread j s
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 ___ Powered by www.kitware.com Visit other Kitware o