mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-31 10:50:16 -06:00
GoogleTest: Replace SEND_ERROR with FATAL_ERROR
We want to fail and halt immediately upon any error, not continue past a fatal problem.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user