diff options
author | Christian Parpart <christian@ethereum.org> | 2018-11-26 17:19:55 +0800 |
---|---|---|
committer | Daniel Kirchner <daniel@ekpyron.org> | 2018-12-12 04:28:05 +0800 |
commit | 5b86e3ec50b757def69a9aed9bc70fac1a8ed652 (patch) | |
tree | 1436ff3024777c2c759d23a493082cf4eaa6adfc /cmake/jsoncpp.cmake | |
parent | 055c5fe173b90b7d07f1170de5d7018140296f89 (diff) | |
download | dexon-solidity-5b86e3ec50b757def69a9aed9bc70fac1a8ed652.tar.gz dexon-solidity-5b86e3ec50b757def69a9aed9bc70fac1a8ed652.tar.zst dexon-solidity-5b86e3ec50b757def69a9aed9bc70fac1a8ed652.zip |
Enables C++14 standard (was C++11) within the Solidity compiler project.
Diffstat (limited to 'cmake/jsoncpp.cmake')
-rw-r--r-- | cmake/jsoncpp.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
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() |