<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div><br></div><div>Hello,</div><div><br></div><div>I use the ExternalProject_Add command to manage third-party libraries.</div><div>In the same time, I need to overcome some compatibility problems between GCC 4 and GCC 5 (strings are not defined in the same way in the STL).</div><div>The solution I use is the one given here:</div><div><a href="http://stackoverflow.com/questions/33500337/how-to-handle-dual-abi-in-gcc-5">http://stackoverflow.com/questions/33500337/how-to-handle-dual-abi-in-gcc-5</a></div><div>It allows me to force to use the libstdc++.so given by the GCC repository given to the cmake command.</div><div><br></div><div>The problem is that trick does not work with the ExternalProject_Add command because configuration steps of third-party libraries are autonomous.</div><div>Do you know how to solve the problem?</div><div><br></div><div>For example, if I use the ExternalProject_Add command to manage a third-library whose configuration also depends on a cmake script, how could I tell this script to use the compilers and the libstdc++.so I provided to my own cmake script?</div><div><br></div><div>Best,</div><div><br></div><div>Cédric</div></div></body></html>