Skip to content

Commit

Permalink
switch to catch2 v3
Browse files Browse the repository at this point in the history
  • Loading branch information
mhekkel committed Feb 5, 2025
1 parent aad70b9 commit 22aa193
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,6 @@ if(MSVC)
target_compile_options(unit-test-dssp PRIVATE /EHsc)
endif()

if("${Catch2_VERSION}" VERSION_GREATER_EQUAL 3.0.0)
target_compile_definitions(unit-test-dssp PUBLIC CATCH22=0)
else()
target_compile_definitions(unit-test-dssp PUBLIC CATCH22=1)
endif()

add_test(NAME unit-test-dssp COMMAND $<TARGET_FILE:unit-test-dssp>
--data-dir ${CMAKE_CURRENT_SOURCE_DIR}
--rsrc-dir ${CMAKE_CURRENT_BINARY_DIR}/_deps/cifpp-src/rsrc)

0 comments on commit 22aa193

Please sign in to comment.