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 --- server/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'server') diff --git a/server/Dockerfile b/server/Dockerfile index 7169a50..dd81c4d 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -22,8 +22,9 @@ WORKDIR /tmp/build RUN cmake -G "Unix Makefiles" \ -D CMAKE_BUILD_TYPE=Release \ - -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