Update CMake CXX11 flags and disable openmpi warning
The changes here are fairly small, just using the correct "CMake" way to deal with language definitions. This should be more portable especially when using a newer version of CMake.
Thanks @jacobmerson.
Do you see any downside to making C++11 required?
If not, we should consider/discuss the changes here: https://github.com/SCOREC/core/tree/c++11Required . Issue #298 discusses some ctest failures with the XL compiler.
I don't know if I'm the one qualified to discuss the downsides to enable c++11 by default...I think this really depends on the hardware we are expected to support. I.E. Is there hardware that core needs to run on which can't support c++11? I think most modern systems have support by now (even XL supports the full c++11 standard)
Given #345 I think this can be closed. If openmpi C++ interface warnings are still an issue we should create a new pr to fix it.