We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb3c43d commit 178965eCopy full SHA for 178965e
1 file changed
CMake/vtkWrapPython.cmake
@@ -189,7 +189,7 @@ if(VTK_WRAP_PYTHON_FIND_LIBS)
189
else()
190
set(_QUIET_LIBRARY "REQUIRED")
191
endif()
192
- find_package(PythonLibs ${_QUIET_LIBRARY})
+ find_package(Python3 COMPONENTS Development ${_QUIET_LIBRARY})
193
194
# Use separate debug/optimized libraries if they are different.
195
if(PYTHON_DEBUG_LIBRARY)
0 commit comments