Skip to content

Commit efcd696

Browse files
committed
COMP: Drop Development.Module from the Python component diagnostics
The component is no longer requested, so it can neither be missing nor inform the remedy text.
1 parent c33475a commit efcd696

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

CMake/ITKSetPython3Vars.cmake

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -156,15 +156,7 @@ else()
156156
NumPy: ${Python3_EXECUTABLE} -m pip install numpy"
157157
)
158158
endif()
159-
if(
160-
Development.Module
161-
IN_LIST
162-
_missing_python_components
163-
OR
164-
Development.SABIModule
165-
IN_LIST
166-
_missing_python_components
167-
)
159+
if(Development.SABIModule IN_LIST _missing_python_components)
168160
string(
169161
APPEND
170162
_missing_component_remedy
@@ -189,7 +181,6 @@ else()
189181
Python3_Interpreter_FOUND=${Python3_Interpreter_FOUND}
190182
Python3_Compiler_FOUND=${Python3_Compiler_FOUND}
191183
Python3_Development_FOUND=${Python3_Development_FOUND}
192-
Python3_Development.Module_FOUND=${Python3_Development.Module_FOUND}
193184
Python3_Development.SABIModule_FOUND=${Python3_Development.SABIModule_FOUND}
194185
Python3_Development.Embed_FOUND=${Python3_Development.Embed_FOUND}
195186
Python3_NumPy_FOUND=${Python3_NumPy_FOUND}

0 commit comments

Comments
 (0)