Skip to content

Commit c6b3521

Browse files
committed
Fix pyopenvdb build support
FindPythonLibs deprecated since cmake version 3.12. Using FindPython module instead. Signed-off-by: Ignacio Vizzo <[email protected]>
1 parent 8b727c6 commit c6b3521

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/FindOpenVDB.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ find_package(Boost REQUIRED COMPONENTS iostreams)
502502
# @todo track for numpy
503503

504504
if(pyopenvdb IN_LIST OpenVDB_FIND_COMPONENTS)
505-
find_package(PythonLibs REQUIRED)
505+
find_package(Python REQUIRED)
506506

507507
# Boost python handling - try and find both python and pythonXx (version suffixed).
508508
# Prioritize the version suffixed library, failing if neither exist.

0 commit comments

Comments
 (0)