2014-06-23 22:32:32 +00:00
|
|
|
# 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
|
2016-07-20 08:20:59 +00:00
|
|
|
find_path(FCGI_INCLUDE_DIR
|
2014-06-23 22:32:32 +00:00
|
|
|
fcgio.h
|
|
|
|
PATHS
|
|
|
|
/usr/include
|
|
|
|
/usr/local/include
|
2016-07-20 08:20:59 +00:00
|
|
|
/usr/include/fastcgi)
|
|
|
|
find_library(FCGI_LIBRARY NAMES fcgi libfcgi PATHS
|
2014-06-23 22:32:32 +00:00
|
|
|
/usr/local/lib
|
2016-07-20 08:20:59 +00:00
|
|
|
/usr/lib)
|
2015-09-21 15:42:53 +00:00
|
|
|
|
|
|
|
# handle the QUIETLY and REQUIRED arguments and set UUID_FOUND to TRUE if
|
|
|
|
# all listed variables are TRUE
|
|
|
|
include(FindPackageHandleStandardArgs)
|
|
|
|
find_package_handle_standard_args(fcgi DEFAULT_MSG FCGI_LIBRARY FCGI_INCLUDE_DIR)
|
|
|
|
|
2016-05-02 22:21:32 +00:00
|
|
|
mark_as_advanced(FCGI_LIBRARY FCGI_INCLUDE_DIR)
|