Closed faustocarva closed 4 years ago
Thanks for the pull request!
I need to make something about it though. There is no reason libmicrohttpd is required for rhonabwy, the problem comes from ulfius which needs libmicrohttpd to create webservices, and rhonabwy only uses client HTTP requests from ulfius, which is based on libcurl.
I should either drop ulfius dependency and use libcurl directly, or allow to build ulfius without libmicrohttpd.
Meanwhile I'll use your PR. Thanks @faustocarva !
I was trying to compile rhonabwy in my computer (Ubuntu 20.04) and after running a make I've got the error below:
So i did some search and found that libmicrohttpd-dev was not installed in my OS. But it would be cool if CMake tould me that (that libmicrohttpd was not found). So i put
find_package
command into CMakeLists.txt (grabing some code from another package of the author, FindMHD.cmake). After that, anyone who tries to compile rhonabwy is able to know in advance that libmicrohttpd has to be installed.Thnaks.