Skip to content

Commit

Permalink
Use C++20 for building Squangle
Browse files Browse the repository at this point in the history
  • Loading branch information
mszabo-wikia committed Feb 12, 2025
1 parent d8bf36b commit 84e3c37
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions third-party/squangle/squangle-CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.10)
project(squangle CXX C)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)

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

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

0 comments on commit 84e3c37

Please sign in to comment.