diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 36cf349f7..db512192b 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -14,6 +14,7 @@ target_compile_options( unit_test PRIVATE $<$: /W4 /utf-8> $<$: -Wall -Wextra>) set_property(TARGET unit_test PROPERTY CXX_STANDARD 20) +set_property(TARGET Catch2 PROPERTY CXX_STANDARD 20) target_include_directories(unit_test PRIVATE ${Catch2_SOURCE_DIR}/src) target_include_directories(unit_test PRIVATE ${CORE_DIR}/src) target_link_libraries(unit_test PRIVATE Catch2::Catch2WithMain)