svn commit: r1933842 - subversion/trunk

[email protected]
Newsgroups gmane.comp.version-control.subversion.svn
Message-ID <177797068631.2896604.5874007437695675756@svn03-he-fi>
Author: rinrab
Date: Tue May  5 08:44:46 2026
New Revision: 1933842

Log:
Follow-up to r1933812: Include UseSWIG before targets so we don't fail to
swig_add_library() undefined.

* CMakeLists.txt
  (): Include the modules properly.

Modified:
   subversion/trunk/CMakeLists.txt

Modified: subversion/trunk/CMakeLists.txt
==============================================================================
--- subversion/trunk/CMakeLists.txt	Tue May  5 08:40:50 2026	(r1933841)
+++ subversion/trunk/CMakeLists.txt	Tue May  5 08:44:46 2026	(r1933842)
@@ -229,6 +229,10 @@ if(BUILD_SHARED_LIBS OR SVN_BUILD_SHARED
   set(CMAKE_POSITION_INDEPENDENT_CODE ON)
 endif()
 
+if (SVN_ENABLE_SWIG_PERL OR SVN_ENABLE_SWIG_PYTHON OR SVN_ENABLE_SWIG_RUBY)
+  include(UseSWIG)
+endif()
+
 # Setup modules path
 
 list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/build/cmake")
@@ -552,7 +556,6 @@ endif()
 
 if(SVN_ENABLE_SWIG_PERL OR SVN_ENABLE_SWIG_PYTHON OR SVN_ENABLE_SWIG_RUBY)
   find_package(SWIG REQUIRED)
-  include(${SWIG_USE_FILE})
 
   file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/subversion/bindings/swig/proxy")
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.