Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)

include(FetchContent)

find_package(pybind11 CONFIG REQUIRED)
find_package(Python 3.12 COMPONENTS Interpreter Development.Module REQUIRED)
find_package(nanobind CONFIG REQUIRED)

FetchContent_Declare(
eigen
Expand All @@ -26,7 +27,7 @@ find_package(BLAS QUIET)

# --- Target ---

pybind11_add_module(hypergraph src/Module.cpp)
nanobind_add_module(hypergraph src/Module.cpp)

target_include_directories(hypergraph PRIVATE
"${CMAKE_SOURCE_DIR}/include"
Expand Down
Loading
Loading