Обычные настройки сборки:
git clone https://github.com/google/googletest
cd googletest
mkdir build
cd build
cmake ..
make
make install
не работали. macOS Mojave 10.14.6. Получение ошибки сборки на шаге make.
/googletest-master/googletest/include/gtest/internal/gtest-port.h:844:12: error:
no member named 'make_tuple' in namespace 'std'
using std::make_tuple;
~~~~~^
/googletest-master/googletest/include/gtest/internal/gtest-port.h:845:12: error:
no member named 'tuple' in namespace 'std'
using std::tuple;
~~~~~^
/googletest-master/googletest/include/gtest/internal/gtest-port.h:965:3: error:
deleted function definitions are a C++11 extension [-Werror,-Wc++11-extensions]
GTEST_DISALLOW_COPY_AND_ASSIGN_(GTestLog);
^
/googletest-master/googletest/include/gtest/internal/gtest-port.h:684:23: note:
expanded from macro 'GTEST_DISALLOW_COPY_AND_ASSIGN_'
type(type const&) = delete; \
^
/googletest-master/googletest/include/gtest/internal/gtest-port.h:965:3: error:
deleted function definitions are a C++11 extension [-Werror,-Wc++11-extensions]
/googletest-master/googletest/include/gtest/internal/gtest-port.h:685:34: note:
expanded from macro 'GTEST_DISALLOW_COPY_AND_ASSIGN_'
type& operator=(type const&) = delete
etc
Быстрый поиск не нашел явных ответов в стеке или googletest github.