diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2019-12-09 04:30:06 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2019-12-09 04:30:06 +0300 |
commit | 570e6b2a8085540a9f5634e1a31d2e42e769f82f (patch) | |
tree | 2d1d0188c2d8228dce1a608bb027b726de5df658 /server/Dockerfile | |
parent | Docker: no dist-upgrade in Dockerfile-s (diff) | |
download | math-server-570e6b2a8085540a9f5634e1a31d2e42e769f82f.tar.gz math-server-570e6b2a8085540a9f5634e1a31d2e42e769f82f.zip |
cmake-common: use C++17
Diffstat (limited to '')
-rw-r--r-- | server/Dockerfile | 3 |
1 files changed, 2 insertions, 1 deletions
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 && \ |