Re: [CMake] (no subject)

2015-05-22 Thread Lucas . Pettey
The Cray system requires static libraries, so all symbols are defined during the linking process. Leaving out the LINKER_LANGUAGE CXX statement, CMake sees all the source files as C files, uses the C linker and I get undefined symbol errors. Manually linking with the C++ linker but excluding t

Re: [CMake] (no subject)

2015-05-22 Thread Dan Liew
Hi, On 21 May 2015 at 23:00, wrote: > Hello, > > I am trying to compile a code written in C, but using an external library > that contains C++ functions. I am on a Cray system and everything works if I > manually link with the cray CC wrapper. When I change the linker language > with this comman