Skip to content

Commit

Permalink
catch this
Browse files Browse the repository at this point in the history
  • Loading branch information
mhekkel committed Apr 8, 2024
1 parent b51c8f0 commit 778d0ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ if(MSVC)
target_compile_options(unit-test-dssp PRIVATE /EHsc)
endif()

if(${Catch2_VERSION} VERSION_GREATER_EQUAL 3.0.0)
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)
Expand Down

0 comments on commit 778d0ad

Please sign in to comment.