Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / cmake / modules / Findfcgi.cmake
1 # CMake module to search for FastCGI headers
2 #
3 # If it's found it sets FCGI_FOUND to TRUE
4 # and following variables are set:
5 # FCGI_INCLUDE_DIR
6 # FCGI_LIBRARY
7 find_path(FCGI_INCLUDE_DIR
8   fcgio.h
9   PATHS
10   /usr/include
11   /usr/local/include
12   /usr/include/fastcgi)
13 find_library(FCGI_LIBRARY NAMES fcgi libfcgi PATHS
14   /usr/local/lib
15   /usr/lib)
16
17 # handle the QUIETLY and REQUIRED arguments and set UUID_FOUND to TRUE if
18 # all listed variables are TRUE
19 include(FindPackageHandleStandardArgs)
20 find_package_handle_standard_args(fcgi DEFAULT_MSG FCGI_LIBRARY FCGI_INCLUDE_DIR)
21
22 mark_as_advanced(FCGI_LIBRARY FCGI_INCLUDE_DIR)