Skip to content

Commit

Permalink
Catch2にもCXX_STANDARD 20を追加
Browse files Browse the repository at this point in the history
  • Loading branch information
qwerty2501 committed May 8, 2022
1 parent 809af16 commit 5d52221
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ target_compile_options(
unit_test PRIVATE $<$<CXX_COMPILER_ID:MSVC>: /W4 /utf-8>
$<$<CXX_COMPILER_ID:GNU>: -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)
Expand Down

0 comments on commit 5d52221

Please sign in to comment.