From 570e6b2a8085540a9f5634e1a31d2e42e769f82f Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 9 Dec 2019 04:30:06 +0300 Subject: cmake-common: use C++17 --- client/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'client/Dockerfile') diff --git a/client/Dockerfile b/client/Dockerfile index 96da607..7980841 100644 --- a/client/Dockerfile +++ b/client/Dockerfile @@ -22,8 +22,9 @@ WORKDIR /tmp/build RUN cmake -G "Unix Makefiles" \ -D CMAKE_BUILD_TYPE=RelWithDebInfo \ - -D ENABLE_TESTS=ON \ -D CMAKE_CXX_STANDARD_LIBRARIES="-lpthread" \ + -D ENABLE_TESTS=ON \ + -D CC_CXX_STANDARD=17 \ /tmp/src && \ cmake --build test && \ ./test/unit_tests/unit_tests --log_level=all && \ -- cgit v1.2.3