Skip to content

Commit

Permalink
Remove skbuild special handling
Browse files Browse the repository at this point in the history
Signed-off-by: pdmurray <peynmurray@gmail.com>
  • Loading branch information
peytondmurray committed Jul 24, 2023
1 parent 9fa446a commit 62ab659
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions openvdb/openvdb/python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,6 @@ if(USE_NUMPY)
list(APPEND OPENVDB_PYTHON_REQUIRED_COMPONENTS NumPy)
endif()

# scikit-build doesn't yet support FindPython, but this workaround was
# supplied by one of the scikit-build devs. See
# https://github.com/pypa/cibuildwheel/issues/727 for details.
if(SKBUILD)
set(Python_EXECUTABLE "${PYTHON_EXECUTABLE}")
set(Python_NumPy_INCLUDE_DIR "${NUMPY_INCLUDE_DIR}")
endif()

# Make sure find_package(Python) is only ever invoked once with all required components
find_package(Python COMPONENTS ${OPENVDB_PYTHON_REQUIRED_COMPONENTS})
find_package(pybind11 ${MINIMUM_PYBIND_VERSION} REQUIRED)
Expand Down

0 comments on commit 62ab659

Please sign in to comment.