mirror of
https://github.com/bazel-contrib/rules_foreign_cc
synced 2024-11-30 16:42:07 +00:00
15 lines
599 B
Diff
15 lines
599 B
Diff
See <https://discourse.cmake.org/t/cmake-error-at-cmakelists-txt-117-message-the-c-compiler-does-not-support-c-11-e-g-std-unique-ptr/3774/8>
|
|
|
|
--- CMakeLists.txt 2023-01-24 13:46:17.000000000 -0800
|
|
+++ CMakeLists.txt 2023-01-24 13:46:43.000000000 -0800
|
|
@@ -96,10 +96,6 @@
|
|
|
|
# check for available C++ features
|
|
include(${CMake_SOURCE_DIR}/Source/Checks/cm_cxx_features.cmake)
|
|
-
|
|
- if(NOT CMake_HAVE_CXX_UNIQUE_PTR)
|
|
- message(FATAL_ERROR "The C++ compiler does not support C++11 (e.g. std::unique_ptr).")
|
|
- endif()
|
|
endif()
|
|
|
|
# Inform STL library header wrappers whether to use system versions.
|