Skip to content

Commit

Permalink
chore: fix FindLibuhttpd.cmake
Browse files Browse the repository at this point in the history
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
  • Loading branch information
zhaojh329 committed Sep 15, 2021
1 parent 5e1d5f6 commit 17657de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/Modules/FindLibuhttpd.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# LIBUHTTPD_INCLUDE_DIR - The libuhttpd include directories
# LIBUHTTPD_LIBRARY - The libraries needed to use libuhttpd

find_path(LIBUHTTPD_INCLUDE_DIR uhttpd.h PATH_SUFFIXES include/uhttpd)
find_path(LIBUHTTPD_INCLUDE_DIR uhttpd.h PATH_SUFFIXES uhttpd)
find_library(LIBUHTTPD_LIBRARY uhttpd PATH_SUFFIXES lib64)

string(REGEX REPLACE "uhttpd" "" LIBUHTTPD_INCLUDE_DIR "${LIBUHTTPD_INCLUDE_DIR}")
Expand Down

0 comments on commit 17657de

Please sign in to comment.