Skip to content

Commit

Permalink
Fix python binding
Browse files Browse the repository at this point in the history
  • Loading branch information
pierotofy committed Jan 3, 2024
1 parent a1e17ea commit 97d4d43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED True)
if (WITH_PYTHON)
add_subdirectory(vendor/pybind11)
add_definitions("-DVERSION_INFO=${VERSION_INFO}")
pybind11_add_module(fastshuffle fastshuffle.cpp)
pybind11_add_module(fastshuffle fastshuffle.cpp shuffle.cpp)
install(TARGETS fastshuffle LIBRARY DESTINATION lib)
endif()

Expand Down
2 changes: 1 addition & 1 deletion fastshuffle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace py = pybind11;

PYBIND11_MODULE(fastmerge, m) {
PYBIND11_MODULE(fastshuffle, m) {
m.def("file_shuffle", &shuffle);

#ifdef VERSION_INFO
Expand Down

0 comments on commit 97d4d43

Please sign in to comment.