svn commit: r1933808 - subversion/trunk

[email protected]
Newsgroups gmane.comp.version-control.subversion.svn
Message-ID <177790269820.2548702.4373679483338051482@svn03-he-fi>
Author: rinrab
Date: Mon May  4 13:51:37 2026
New Revision: 1933808

Log:
cmake: Fail using SEND_ERROR instead of ERROR because it's not recognised as a
real error by cmake and it ends up printing ERROR as a string without affecting
the configuration outcome.

* CMakeLists.txt
  (SVN_ENABLE_AUTH_GNOME_KEYRING, SVN_ENABLE_TUI): Use correct message syntax.

Modified:
   subversion/trunk/CMakeLists.txt

Modified: subversion/trunk/CMakeLists.txt
==============================================================================
--- subversion/trunk/CMakeLists.txt	Mon May  4 12:47:29 2026	(r1933807)
+++ subversion/trunk/CMakeLists.txt	Mon May  4 13:51:37 2026	(r1933808)
@@ -475,7 +475,7 @@ if(SVN_ENABLE_AUTH_GNOME_KEYRING)
     pkg_check_modules(libsecret-1 REQUIRED IMPORTED_TARGET libsecret-1)
     target_link_libraries(external-gnome-keyring INTERFACE PkgConfig::libsecret-1)
   else()
-    message(ERROR "GNOME Keyring requires pkg-config")
+    message(SEND_ERROR "GNOME Keyring requires pkg-config")
   endif()
 
   add_private_config_definition(
@@ -491,7 +491,7 @@ if (SVN_ENABLE_TUI)
     pkg_check_modules(ncurses REQUIRED IMPORTED_TARGET ncurses)
     target_link_libraries(external-ncurses INTERFACE PkgConfig::ncurses)
   else()
-    message(ERROR "not supported")
+    message(SEND_ERROR "not supported")
   endif()
 endif()
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.