Commit 957aadd3 authored by Konrad Karaś's avatar Konrad Karaś
Browse files

Fix build include xtensor headers

parent 69a28310
......@@ -168,6 +168,11 @@ if(ENABLE_PYTHON)
target_compile_definitions(k40gen PRIVATE "-DXTENSOR_ENABLE_XSIMD")
# xtensor headers
find_package(xtensor REQUIRED)
target_include_directories(k40gen PUBLIC ${xtensor_INCLUDE_DIRS})
target_link_libraries(k40gen PUBLIC xtensor)
# pybind11 headers
find_package(pybind11 REQUIRED)
target_include_directories(k40gen PRIVATE ${pybind11_INCLUDE_DIRS})
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