Commit c663d5d5 authored by Tammo Jan Dijkema's avatar Tammo Jan Dijkema

Add pybind11 to cmakelists

parent 2c1f9e8d
......@@ -8,4 +8,8 @@ add_library(fibonacci SHARED src/fibonacci.cpp include/fibonacci.h)
target_include_directories(fibonacci PUBLIC include)
add_executable(fib_cli apps/fib_cli.cpp)
target_link_libraries(fib_cli PUBLIC fibonacci)
target_link_libraries(fib_cli PRIVATE fibonacci)
find_package(pybind11 REQUIRED)
pybind11_add_module(fibmod src/fibonacci_wrapper.cpp)
target_link_libraries(fibmod PRIVATE fibonacci)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment