Skip to content

Commit 3b12e41

Browse files
authored
Merge pull request #451 from Xilinx/jrickert.do_not_set_cache_variable
Set CMAKE_CXX_STANDARD to 20 to allow building with newer protobuf versions.
2 parents 2a49da8 + cc2958a commit 3b12e41

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)