diff options
author | Keith Bennett <K.Bennett@warwick.ac.uk> | 2014-03-22 20:45:36 +0400 |
---|---|---|
committer | Keith Bennett <K.Bennett@warwick.ac.uk> | 2014-03-23 21:25:39 +0400 |
commit | b27ba03d4219dda1929ed81e170e42a8ad210592 (patch) | |
tree | 550be6dbd052492723e831dec6b6017e827ab835 /cmake | |
parent | 2cd6787141f8704caa028b3de15ca92c59f1dbfd (diff) |
Replaced qhttpserver with libmicrohttp.
The qhttpserver seems to be riddled with memory leaks and was
continuously crashing. I don't know Qt well enough to fix it so
I have replaced it with libmicrohttp. This is not nearly as
elegant but it is much more stable.
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/FindLibMicroHTTPD.cmake | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cmake/FindLibMicroHTTPD.cmake b/cmake/FindLibMicroHTTPD.cmake new file mode 100644 index 000000000..f31928043 --- /dev/null +++ b/cmake/FindLibMicroHTTPD.cmake @@ -0,0 +1,9 @@ + +find_path(MHD_INCLUDE_DIR microhttpd.h) + +find_library(MHD_LIBRARIES microhttpd) + +mark_as_advanced(MHD_LIBRARIES MHD_INCLUDE_DIR) + +include(FindPackageHandleStandardArgs) +find_package_handle_standard_args(LibMicroHTTPD DEFAULT_MSG MHD_LIBRARIES MHD_INCLUDE_DIR) |