[CMake] Comaptibility with older gcc

Michele Portolan michele.portolan at grenoble-inp.fr
Fri Jan 27 12:04:17 EST 2017


I have a project that build correctly using gcc 4.9.3, generating a 
dynamic library that I can later link to obtain my executables. So, 
nothing special.

My problem is that on one of my target systems, I only have a gcc 4.1.2 
and I am forced to use it for at least  linking the last executable. My 
project uses extensively C++14,so I cannot build it with the older gcc.

Is there a way to have Cmake generate a library that is compatible with 
gcc 4.1.2?

Regards,


Michele


More information about the CMake mailing list