Skip to content

Commit

Permalink
Set C++ standard for multithreading test
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-rifkin committed Jan 18, 2025
1 parent a39c67f commit 29e64e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/ExtraTests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,7 @@ set_tests_properties(

add_executable(Multithreading ${TESTS_DIR}/X37-Multithreading.cpp)
target_link_libraries(Multithreading PRIVATE Catch2::Catch2WithMain)
target_compile_features(Multithreading PRIVATE cxx_std_20)
add_test(
NAME Reporters::Multithreading
COMMAND ${CMAKE_COMMAND} -E env $<TARGET_FILE:Multithreading>
Expand Down

0 comments on commit 29e64e4

Please sign in to comment.