Skip to content

Commit 61908cc

Browse files
author
pfeatherstone
committed
compile unit tests with C++20
1 parent ea09ac3 commit 61908cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ add_executable(tests
4949
unit_tests/sha1.cpp
5050
unit_tests/message.cpp
5151
unit_tests/async.cpp)
52+
target_compile_features(tests PUBLIC cxx_std_20)
5253
target_link_options(tests PRIVATE $<$<CONFIG:Release>:-s>)
5354
target_include_directories(tests PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/extra)
5455
target_link_libraries(tests PRIVATE http)

0 commit comments

Comments
 (0)