Skip to content

Commit cc2958a

Browse files
committed
Set CMAKE_CXX_STANDARD to 20 to allow building with newer protobuf versions. Do not set it as cache variable, to not influence other projects
1 parent 2a49da8 commit cc2958a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ if (NOT ONNX_MLIR_ENABLE_PYBIND)
2222
set(ONNX_MLIR_INSTALL_PYTHON_EXTENSIONS OFF)
2323
endif()
2424

25-
set(CMAKE_CXX_STANDARD 17 CACHE STRING "C++ standard to use")
25+
set(CMAKE_CXX_STANDARD 20)
2626

2727
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
2828

0 commit comments

Comments
 (0)