Hello fellows!<div><br></div><div>I'm compiling my code using CMake and i'm receiving a linker error like this:</div><div>std::basic_string<char, std::char_traits<char>, std::allocator<char> ><br clear="all">
<div><br></div><div>After few researches on the internet, i realized that this kind of error occurs when compiling a C++ code with GCC, instead G++.</div><div><br></div><div>My question is: how can i force CMake to use G++ as default compiler?</div>
<div><br></div><div>Thanks in advance.</div><div><br></div>-- <br>Best regards,<br><br>Maurício Souza Klein.<br>
</div>