diff options
| author | Chris Thrasher | 2024-03-12 13:06:17 -0600 |
|---|---|---|
| committer | Martin Hořeňovský | 2024-03-12 22:55:12 +0100 |
| commit | 792c3b7549e67371e4ebc18c9c6b79dbc3c9fa07 (patch) | |
| tree | d4fd247dcd33c7a42b89d60a117f89387eac1da6 /extras | |
| parent | 1a44e6f6616fb9cdcf2758ced3add9bd7d52208c (diff) | |
| download | catch3-792c3b7549e67371e4ebc18c9c6b79dbc3c9fa07.tar.gz | |
Stop repeating conditional in endif()
This is not necessary so we can remove it. Most conditionals already
omit this anyways.
Diffstat (limited to 'extras')
| -rw-r--r-- | extras/ParseAndAddCatchTests.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/ParseAndAddCatchTests.cmake b/extras/ParseAndAddCatchTests.cmake index 4771e029..31fc193a 100644 --- a/extras/ParseAndAddCatchTests.cmake +++ b/extras/ParseAndAddCatchTests.cmake @@ -187,7 +187,7 @@ function(ParseAndAddCatchTests_ParseFile SourceFile TestTarget) if(result) set(HiddenTagFound ON) break() - endif(result) + endif() endforeach(label) if(PARSE_CATCH_TESTS_NO_HIDDEN_TESTS AND ${HiddenTagFound} AND ${CMAKE_VERSION} VERSION_LESS "3.9") ParseAndAddCatchTests_PrintDebugMessage("Skipping test \"${CTestName}\" as it has [!hide], [.] or [.foo] label") |