Merge topic 'GoogleTest-DISCOVERY_MODE-cleanups'

1458b4c048 Help: Add CMAKE_GTEST_DISCOVER_TESTS_DISCOVERY_MODE to release notes
642ea49115 GoogleTest: Replace SEND_ERROR with FATAL_ERROR
09c38e8de6 Tests: Don't ask for things not required for GoogleTest

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4938
This commit is contained in:
Brad King
2020-06-26 13:31:14 +00:00
committed by Kitware Robot
6 changed files with 8 additions and 10 deletions

View File

@@ -527,7 +527,7 @@ function(gtest_discover_tests TARGET)
endif()
else()
message(SEND_ERROR "Unknown DISCOVERY_MODE: ${_DISCOVERY_MODE}")
message(FATAL_ERROR "Unknown DISCOVERY_MODE: ${_DISCOVERY_MODE}")
endif()
# Add discovered tests to directory TEST_INCLUDE_FILES