From 234b03304f5c822b8f76f1d030e57ee6d007d6e3 Mon Sep 17 00:00:00 2001 From: Nikita Mikhaylov Date: Mon, 19 Jul 2021 17:47:24 +0300 Subject: [PATCH] done --- contrib/s2geometry-cmake/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/s2geometry-cmake/CMakeLists.txt b/contrib/s2geometry-cmake/CMakeLists.txt index f54562652a6..41d570c9afd 100644 --- a/contrib/s2geometry-cmake/CMakeLists.txt +++ b/contrib/s2geometry-cmake/CMakeLists.txt @@ -115,6 +115,8 @@ set(S2_SRCS add_library(s2 ${S2_SRCS}) +set_property(TARGET s2 PROPERTY CXX_STANDARD 11) + if (OPENSSL_FOUND) target_link_libraries(s2 PRIVATE ${OPENSSL_LIBRARIES}) endif()