Skip to content

Commit f873466

Browse files
qukhanxnnpack-bot
authored andcommitted
Align C++ standard to C++17 in CMake builds to be equal to Bazel builds.
PiperOrigin-RevId: 917360156
1 parent 3ca1b08 commit f873466

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ ENDIF()
4242

4343
SET(CMAKE_C_STANDARD 99)
4444
SET(CMAKE_C_EXTENSIONS NO)
45-
SET(CMAKE_CXX_STANDARD 14)
45+
SET(CMAKE_CXX_STANDARD 17)
4646
SET(CMAKE_CXX_STANDARD_REQUIRED YES)
4747
SET(CMAKE_CXX_EXTENSIONS NO)
4848

0 commit comments

Comments
 (0)