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