This commit is contained in:
Erik Frojdh
2024-03-07 15:55:34 +01:00
parent ef61e62238
commit 1f56374496
2 changed files with 22 additions and 27 deletions

View File

@ -1,4 +1,8 @@
find_package (Python 3.11 COMPONENTS Interpreter Development)
find_package(pybind11 2.11 REQUIRED)
pybind11_add_module(_aare src/bindings.cpp)
set_target_properties(_aare PROPERTIES
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}
)
)
target_link_libraries(_aare PRIVATE aare)