mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Defaulting to C++17 for building.
This commit is contained in:
committed by
Daniel Kirchner
parent
bd105ad4b1
commit
e91c6acbc3
+2
-2
@@ -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++14. Using all flags causes build failures
|
||||
# but only use -std=c++17. Using all flags causes build failures
|
||||
# at the moment.
|
||||
set(JSONCPP_CXX_FLAGS -std=c++14)
|
||||
set(JSONCPP_CXX_FLAGS -std=c++17)
|
||||
else()
|
||||
set(JSONCPP_CXX_FLAGS ${CMAKE_CXX_FLAGS})
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user