svn commit: r1937022 - subversion/trunk

[email protected]
Newsgroups gmane.comp.version-control.subversion.svn
Message-ID <178634995510.360723.2593230886941723165@svn03-he-fi>
Author: jun66j5
Date: Mon Aug 10 08:19:14 2026
New Revision: 1937022

Log:
cmake: Search for `junit4` or `junit` to find the JUnit version 4 jar file;
E.g. the former is for Ubuntu, the latter is for Fedora.

* CMakeLists.txt
  (javahl): Ditto.

Modified:
   subversion/trunk/CMakeLists.txt

Modified: subversion/trunk/CMakeLists.txt
==============================================================================
--- subversion/trunk/CMakeLists.txt	Mon Aug 10 08:06:43 2026	(r1937021)
+++ subversion/trunk/CMakeLists.txt	Mon Aug 10 08:19:14 2026	(r1937022)
@@ -337,7 +337,7 @@ if(SVN_ENABLE_JAVAHL)
   set(SVN_JAVAHL_SOURCES)
   if(SVN_ENABLE_JAVAHL_TESTS)
     set(SVN_JAVAHL_TESTS_SOURCES)
-    find_jar(JUNIT_JAR NAMES junit.jar)
+    find_jar(JUNIT_JAR NAMES junit4 junit)
   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.