Skip to content

Commit b6f0c8f

Browse files
committed
Set cxx_std_20 for tests without graphqlcoro
1 parent d4b7de0 commit b6f0c8f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ target_link_libraries(pegtl_combined_tests PRIVATE
6767
GTest::Main)
6868
target_include_directories(pegtl_combined_tests PRIVATE
6969
${CMAKE_CURRENT_SOURCE_DIR}/../include)
70+
target_compile_features(pegtl_combined_tests PRIVATE cxx_std_20)
7071
gtest_add_tests(TARGET pegtl_combined_tests)
7172

7273
add_executable(pegtl_executable_tests PegtlExecutableTests.cpp)
@@ -85,6 +86,7 @@ target_link_libraries(pegtl_schema_tests PRIVATE
8586
GTest::Main)
8687
target_include_directories(pegtl_schema_tests PRIVATE
8788
${CMAKE_CURRENT_SOURCE_DIR}/../include)
89+
target_compile_features(pegtl_schema_tests PRIVATE cxx_std_20)
8890
gtest_add_tests(TARGET pegtl_schema_tests)
8991

9092
add_executable(response_tests ResponseTests.cpp)

0 commit comments

Comments
 (0)