Skip to content

Commit 01aac80

Browse files
committed
add C++17 support
1 parent 3c6998d commit 01aac80

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ project(LeetCode)
44
# See https://cmake.org/cmake/help/git-stage/module/GoogleTest.html
55
cmake_minimum_required(VERSION 3.10)
66

7+
set(CMAKE_CXX_STANDARD 17)
8+
79
enable_testing()
810
find_package(Threads REQUIRED)
911
find_package(GTest REQUIRED)

0 commit comments

Comments
 (0)