solidity/cmake/toolchains/default.cmake

5 lines
174 B
CMake
Raw Normal View History

2019-08-09 09:28:22 +00:00
# Require C++17.
set(CMAKE_CXX_STANDARD 17) # This requires at least CMake 3.8 to accept this C++17 flag.
2017-08-28 15:04:41 +00:00
set(CMAKE_CXX_STANDARD_REQUIRED TRUE)
set(CMAKE_CXX_EXTENSIONS OFF)