solidity/cmake/toolchains/default.cmake
2019-08-13 16:19:18 +02:00

5 lines
174 B
CMake

# Require C++17.
set(CMAKE_CXX_STANDARD 17) # This requires at least CMake 3.8 to accept this C++17 flag.
set(CMAKE_CXX_STANDARD_REQUIRED TRUE)
set(CMAKE_CXX_EXTENSIONS OFF)