summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorDaniel Gryniewicz <dang@fprintf.net>2015-09-21 17:42:53 +0200
committerDaniel Gryniewicz <dang@fprintf.net>2015-09-23 16:55:54 +0200
commita6c8b46101227bde8ac5f2c26b18f8058f06a117 (patch)
tree7e16dd221995d8dc2e1e78423bf290f7d3372b89 /cmake
parentCMake - add check for libuuid (diff)
downloadceph-a6c8b46101227bde8ac5f2c26b18f8058f06a117.tar.xz
ceph-a6c8b46101227bde8ac5f2c26b18f8058f06a117.zip
CMake - fix check for fcgi
Signed-off-by: Daniel Gryniewicz <dang@fprintf.net>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/Findfcgi.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/cmake/modules/Findfcgi.cmake b/cmake/modules/Findfcgi.cmake
index 0d07dce9374..b5f366b21bc 100644
--- a/cmake/modules/Findfcgi.cmake
+++ b/cmake/modules/Findfcgi.cmake
@@ -33,3 +33,10 @@ ELSE (FCGI_FOUND)
MESSAGE(FATAL_ERROR "Could not find FCGI")
ENDIF (FCGI_FIND_REQUIRED)
ENDIF (FCGI_FOUND)
+
+# 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)
+
+mark_as_advanced(UUID_LIBRARIES UUID_INCLUDE_DIR)