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 /tests | |
| 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 'tests')
| -rw-r--r-- | tests/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | tests/ExtraTests/CMakeLists.txt | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index d3ab14a7..37a5977e 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -59,7 +59,7 @@ if (CATCH_BUILD_SURROGATES) ) target_link_libraries(Catch2SurrogateTarget PRIVATE Catch2WithMain) -endif(CATCH_BUILD_SURROGATES) +endif() #### # Temporary workaround for VS toolset changes in 2017 @@ -70,7 +70,7 @@ if (MSVC) configure_file(${CATCH_DIR}/tools/misc/SelfTest.vcxproj.user ${CMAKE_BINARY_DIR}/tests COPYONLY) -endif(MSVC) #Temporary workaround +endif() #Temporary workaround # define the sources of the self test diff --git a/tests/ExtraTests/CMakeLists.txt b/tests/ExtraTests/CMakeLists.txt index 2a810e25..0c5600ab 100644 --- a/tests/ExtraTests/CMakeLists.txt +++ b/tests/ExtraTests/CMakeLists.txt @@ -183,7 +183,7 @@ if (NOT WIN32) PROPERTIES PASS_REGULAR_EXPRESSION "Catch will terminate" ) -endif(NOT WIN32) +endif() add_test(NAME CATCH_CONFIG_DISABLE_EXCEPTIONS-3 COMMAND DisabledExceptions-CustomHandler "Tests that run") |