mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-26 07:49:50 -05:00
b27ba03d42
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.
10 lines
261 B
CMake
10 lines
261 B
CMake
|
|
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)
|