svn commit: r1933638 - subversion/trunk

[email protected]
Newsgroups gmane.comp.version-control.subversion.svn
Message-ID <177763201915.1132621.12370773528330455222@svn03-he-fi>
Author: ivan
Date: Fri May  1 10:40:18 2026
New Revision: 1933638

Log:
cmake: Use `Development.Module` Python module component.

* CMakeLists.txt: Search for Development.Module. Link external-python with
  Python3::Module target instead of Python3::Python.

Modified:
   subversion/trunk/CMakeLists.txt

Modified: subversion/trunk/CMakeLists.txt
==============================================================================
--- subversion/trunk/CMakeLists.txt	Fri May  1 10:31:13 2026	(r1933637)
+++ subversion/trunk/CMakeLists.txt	Fri May  1 10:40:18 2026	(r1933638)
@@ -430,7 +430,7 @@ endif()
 if(SVN_ENABLE_SWIG_PYTHON)
   find_package(Python3 REQUIRED COMPONENTS
       Interpreter
-      Development.Embed
+      Development.Module
   )
 elseif(SVN_ENABLE_TESTS)
   find_package(Python3 REQUIRED COMPONENTS
@@ -561,7 +561,7 @@ if(SVN_ENABLE_SWIG_PYTHON)
 
   add_library(external-python INTERFACE)
   target_link_libraries(external-python INTERFACE
-    Python3::Python
+    Python3::Module
     Python::py3c
   )
   target_include_directories(external-python INTERFACE
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.