OpenBSD: Configuring CMake itself claims gcc6 does not have C++11 unique_ptr
While compiling cmake 3.10.2 with gcc6:
The C++ compiler does not support C++11 (e.g. std::unique_ptr).
This error message is misleading. The test is not for std::unique_ptr, but for std::make_unique, which was only introduced in C++14.
Pedantic compilers WON'T allow std::make_unique in C++11 mode.
The erroneous message is still present in 3.13.0-rc3.
The message should read:
The C++ compiler does not support C++14's std::make_unique.
and cmake should possibly try to configure using -std=c++14 where applicable...