From 483eb2f56657e8e7f419ab1a4fab8dce9ade8609 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 20:24:20 +0200 Subject: Adding upstream version 14.2.21. Signed-off-by: Daniel Baumann --- cmake/modules/Findfcgi.cmake | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 cmake/modules/Findfcgi.cmake (limited to 'cmake/modules/Findfcgi.cmake') diff --git a/cmake/modules/Findfcgi.cmake b/cmake/modules/Findfcgi.cmake new file mode 100644 index 00000000..d4e3c199 --- /dev/null +++ b/cmake/modules/Findfcgi.cmake @@ -0,0 +1,20 @@ +# CMake module to search for FastCGI headers +# +# If it's found it sets FCGI_FOUND to TRUE +# and following variables are set: +# FCGI_INCLUDE_DIR +# FCGI_LIBRARY +find_path(FCGI_INCLUDE_DIR + fcgio.h + PATHS + /usr/include + /usr/local/include + /usr/include/fastcgi) +find_library(FCGI_LIBRARY NAMES fcgi libfcgi PATHS + /usr/local/lib + /usr/lib) + +include(FindPackageHandleStandardArgs) +find_package_handle_standard_args(fcgi DEFAULT_MSG FCGI_LIBRARY FCGI_INCLUDE_DIR) + +mark_as_advanced(FCGI_LIBRARY FCGI_INCLUDE_DIR) -- cgit v1.2.3