Skip to content

Commit 178965e

Browse files
committed
Update find python method.
Using 'Python3 COMPONENTS Development' instead of 'PythonLibs'.
1 parent fb3c43d commit 178965e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMake/vtkWrapPython.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ if(VTK_WRAP_PYTHON_FIND_LIBS)
189189
else()
190190
set(_QUIET_LIBRARY "REQUIRED")
191191
endif()
192-
find_package(PythonLibs ${_QUIET_LIBRARY})
192+
find_package(Python3 COMPONENTS Development ${_QUIET_LIBRARY})
193193

194194
# Use separate debug/optimized libraries if they are different.
195195
if(PYTHON_DEBUG_LIBRARY)

0 commit comments

Comments
 (0)