From 64f1f2357ae764f2c8190d067aff801bc0a56721 Mon Sep 17 00:00:00 2001 From: Eric Niebler Date: Tue, 10 Sep 2019 10:48:55 -0700 Subject: Latest libclang needs C++14 --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7aa1c01..2644ceb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -49,8 +49,8 @@ if (use_libclang) endif() endif() -# use C++11 standard for compiling (libclang option requires it) -set(CMAKE_CXX_STANDARD 11) +# use C++14 standard for compiling (libclang option requires it) +set(CMAKE_CXX_STANDARD 14) set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_EXTENSIONS ON) -- cgit v0.12