summaryrefslogtreecommitdiff
path: root/databases/clickhouse/files/patch-contrib_cassandra_CMakeLists.txt
blob: 733dc7778753a83531998463ae9f90a24913ef27 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- contrib/cassandra/CMakeLists.txt.orig	2021-01-25 21:26:46 UTC
+++ contrib/cassandra/CMakeLists.txt
@@ -165,7 +165,8 @@ if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" OR
    "${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
   # Enable C++11 support to use std::atomic
   if(CASS_USE_STD_ATOMIC)
-    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
+    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17")
+    set(CMAKE_CXX_STANDARD "17")
   endif()
 
   # OpenSSL is deprecated on later versions of Mac OS X. The long-term solution