I am planning on using libiio in my project and believe that the community would benefit from a small change to the CMakelists.txt file.
I included the libiio subdirectory into my project as follows: add_subdirectory(lib/libiio)
running cmake in my build subdirectory results in the following errors
CMake Error: File /home/user/sw/myproject_top_level/Doxyfile.in does not exist.
CMake Error at lib/libiio/CMakeLists.txt:183 (configure_file):
configure_file Problem configuring file
CMake Error at lib/libiio/CMakeLists.txt:185 (file):
file COPY cannot find "/home/user/sw/myproject_top_level/doc".
I have attached a simple patch that fixes this issue.
I have included libiio as a git submodule and as such this change would allow me to keep up with your updates seamlessly.