Skip to content

Commit ac279e3

Browse files
committed
Use C++20 for building Squangle
1 parent 7e1fc34 commit ac279e3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

third-party/squangle/squangle-CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cmake_minimum_required(VERSION 3.10)
22
project(squangle CXX C)
3-
set(CMAKE_CXX_STANDARD 17)
3+
set(CMAKE_CXX_STANDARD 20)
44
set(CMAKE_CXX_STANDARD_REQUIRED ON)
55
set(CMAKE_CXX_EXTENSIONS OFF)
66

@@ -22,4 +22,3 @@ target_link_libraries(squangle Folly::folly)
2222

2323
install(TARGETS squangle LIBRARY ARCHIVE DESTINATION lib)
2424
install(DIRECTORY "${CMAKE_SOURCE_DIR}/" DESTINATION include FILES_MATCHING PATTERN "*.h")
25-

0 commit comments

Comments
 (0)