Fix FindUV.cmake and FindMHD.cmake.

This commit is contained in:
XMRig 2018-03-14 06:32:43 +07:00
parent fdc9fbe876
commit c0ca68e2db
2 changed files with 10 additions and 0 deletions

View file

@ -13,6 +13,8 @@ find_path(
DOC "microhttpd include dir"
)
find_path(MHD_INCLUDE_DIR NAMES microhttpd.h)
find_library(
MHD_LIBRARY
NAMES microhttpd libmicrohttpd
@ -21,6 +23,8 @@ find_library(
DOC "microhttpd library"
)
find_library(MHD_LIBRARY NAMES microhttpd libmicrohttpd)
set(MHD_INCLUDE_DIRS ${MHD_INCLUDE_DIR})
set(MHD_LIBRARIES ${MHD_LIBRARY})