Skip to content

Commit

Permalink
build: use FindPython
Browse files Browse the repository at this point in the history
  • Loading branch information
jolars committed Dec 11, 2023
1 parent 496fb68 commit f9d909f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ project(
set(PYBIND11_NEWPYTHON ON)

# Find the module development requirements (requires FindPython from 3.17 or
# scikit-build-core's built-in backport) find_package(Python REQUIRED COMPONENTS
# Interpreter Development.Module)
# scikit-build-core's built-in backport)
find_package(Python REQUIRED COMPONENTS Interpreter Development.Module)
find_package(pybind11 CONFIG REQUIRED)

include_directories(${CMAKE_SOURCE_DIR}/external)
Expand Down

0 comments on commit f9d909f

Please sign in to comment.