The warning you’re getting looks like a clang warning. The way I see it, is that the CMAKE_XCODE_ATTRIBUTE_* override the compiler and standard library only inside of XCode, without making CMake aware of this, which is why it says it uses gcc/g++ as compilers. So C++11 should be working alright with libc++.