From 1a210213d65471fd9f5c55d2b81ab672770a3cd2 Mon Sep 17 00:00:00 2001 From: woodser Date: Sun, 10 Mar 2024 14:05:31 -0400 Subject: [PATCH] replace c++11 with c++14 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8131a139..6ea5ed1d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -99,7 +99,7 @@ include_directories(${Boost_INCLUDE_DIR}) ############ if (APPLE AND NOT IOS) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=default -std=c++11") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=default -std=c++14") if (NOT OPENSSL_ROOT_DIR) EXECUTE_PROCESS(COMMAND brew --prefix openssl OUTPUT_VARIABLE OPENSSL_ROOT_DIR