Commit 19fc7a83 authored by Roel Aaij's avatar Roel Aaij
Browse files

Detect pybind11 location include its DIRS

parent 38f1d2b5
......@@ -141,6 +141,9 @@ if(ENABLE_PYTHON)
pybind11_add_module(k40gen "src/k40gen/bindings.cpp")
target_link_libraries(k40gen PUBLIC generate)
target_include_directories(k40gen PUBLIC ${PYBIND11_INCLUDE_DIRS})
if (xtp_BUILTIN)
add_dependencies(k40gen xtp-install)
target_include_directories(k40gen PRIVATE ${CMAKE_BINARY_DIR}/external/include)
Supports Markdown
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