diff options
author | Craig Scott <craig.scott@crascit.com> | 2020-06-24 11:57:19 (GMT) |
---|---|---|
committer | Craig Scott <craig.scott@crascit.com> | 2020-06-24 11:57:19 (GMT) |
commit | 642ea49115949c57cc5f96a377d950e700a8f8c1 (patch) | |
tree | d0e8dd4da6b063ffe7812cd7693ee039e392470d /Modules/GoogleTest.cmake | |
parent | 09c38e8de6dd862eb73dbd047253f70ae27aaa24 (diff) | |
download | CMake-642ea49115949c57cc5f96a377d950e700a8f8c1.zip CMake-642ea49115949c57cc5f96a377d950e700a8f8c1.tar.gz CMake-642ea49115949c57cc5f96a377d950e700a8f8c1.tar.bz2 |
GoogleTest: Replace SEND_ERROR with FATAL_ERROR
We want to fail and halt immediately upon any error, not continue
past a fatal problem.
Diffstat (limited to 'Modules/GoogleTest.cmake')
-rw-r--r-- | Modules/GoogleTest.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/GoogleTest.cmake b/Modules/GoogleTest.cmake index f75d6ad..b210a77 100644 --- a/Modules/GoogleTest.cmake +++ b/Modules/GoogleTest.cmake @@ -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 |