Including pybind11 cmake files with Hunter

77 Views Asked by At

I am using Hunter to manage dependencies of my project. One of them is pybind11 It has been installed correctly and I can use it in my code. However when building my project with CMake I need to use some cmake function provided by pybind11 in some cmake files. These are located in pybind11_DIR How can I include them ?

Before I was used to only do that add_subdirectory(pybind11) to have everything included.

Thanks

0

There are 0 best solutions below