From 5b86e3ec50b757def69a9aed9bc70fac1a8ed652 Mon Sep 17 00:00:00 2001 From: Christian Parpart Date: Mon, 26 Nov 2018 10:19:55 +0100 Subject: Enables C++14 standard (was C++11) within the Solidity compiler project. --- cmake/jsoncpp.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmake/jsoncpp.cmake') diff --git a/cmake/jsoncpp.cmake b/cmake/jsoncpp.cmake index ea3218ef..318a526e 100644 --- a/cmake/jsoncpp.cmake +++ b/cmake/jsoncpp.cmake @@ -15,9 +15,9 @@ set(JSONCPP_INCLUDE_DIR "${prefix}/include") # versions used in the CI runs. if(EMSCRIPTEN) # Do not include all flags in CMAKE_CXX_FLAGS for emscripten, - # but only use -std=c++11. Using all flags causes build failures + # but only use -std=c++14. Using all flags causes build failures # at the moment. - set(JSONCPP_CXX_FLAGS -std=c++11) + set(JSONCPP_CXX_FLAGS -std=c++14) else() set(JSONCPP_CXX_FLAGS ${CMAKE_CXX_FLAGS}) endif() -- cgit v1.2.3