UCL / GreatCMakeCookOff

Bunch of CMake pain in the baker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Activation of -stdlib=libc++ flag on Linux

tbetcke opened this issue · comments

The AddCPP11Flags script adds the flag -stdlib=libc++ for Clang also on Linux even when libc++ does not exist. I suggest to remove it. On Mac clang by default uses libc++. On Linux most users may want to use libstdc++ for compatibility with system libraries.