mirror of
https://github.com/ceph/ceph
synced 2024-12-26 05:25:09 +00:00
ea85753c9a
Signed-off-by: Kefu Chai <kchai@redhat.com>
21 lines
515 B
CMake
21 lines
515 B
CMake
# 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)
|