mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-05 04:03:22 +03: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:
1 parent
09c38e8de6
commit
642ea49115
1 file changed
+1
-1
@@ -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