From 37d067797a35266b94eecec49ec8e4fe701c0377 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20B=C3=B6hn?= Date: Tue, 3 Mar 2020 21:51:21 -0500 Subject: [PATCH] Bump the C++ standard flag up to `-c++14` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit … the current version of `kj` requires C++14 at a minimum; this change keeps the build of `capnpc-java` from erroring out. --- cmake/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index 00899c6..9b79701 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.9) find_package(PkgConfig REQUIRED) -set(CMAKE_CXX_STANDARD 11) +set(CMAKE_CXX_STANDARD 14) set(CAPNPC_JAVA_SOURCES ../compiler/src/main/cpp/capnpc-java.c++) if(CAPNP_PKG_PATH)