Error std::unique_ptr Reported During CMake Compilation
Symptom
Error std::unique_ptr is reported during CMake compilation, and the error message "CMake Error at CMakeLists.txt:92 (message): The C++ compiler does not support C++11 (e.g. std::unique_ptr)" is displayed.
Key Process and Cause Analysis
This error is related to the system time setting.
Conclusion and Solution
After the system time is set correctly, decompress the source code package again for compilation.
Or
Modify the CmakeCache.txt file.