Commit e3f6d0d
committed
COMP: Omit Development.Module for limited API builds on Windows
When ITK_USE_PYTHON_LIMITED_API is ON, the second find_package(Python3)
call no longer requests Development.Module. On Windows, satisfying
Development.Module requires the version-specific python3XX.lib
(e.g. python311.lib), which is absent in many environments such as
Azure CI hosted agents and standard virtualenvs.
ITKCommon already links against Python3::SABIModule (not Python3::Module)
when ITK_USE_PYTHON_LIMITED_API is ON, so the Development.Module
component and its Python3::Module target are not required in this path.1 parent 7022660 commit e3f6d0d
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
113 | 117 | | |
114 | 118 | | |
115 | 119 | | |
| |||
0 commit comments