mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-02-26 09:21:21 -05:00

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)
|