]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: remove stale comments
authorKefu Chai <kchai@redhat.com>
Thu, 28 Jun 2018 05:21:02 +0000 (13:21 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 28 Jun 2018 05:21:02 +0000 (13:21 +0800)
Signed-off-by: Kefu Chai <kchai@redhat.com>
cmake/modules/Findfcgi.cmake
cmake/modules/Findrdmacm.cmake
cmake/modules/Findsnappy.cmake
cmake/modules/Findverbs.cmake

index f355b924fd38c33f44c7e106935e4eb572b36362..d4e3c199c6667e9366ea1bb449e0a7261e46179a 100644 (file)
@@ -14,8 +14,6 @@ find_library(FCGI_LIBRARY NAMES fcgi libfcgi PATHS
   /usr/local/lib
   /usr/lib)
 
-# 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)
 
index 310b8130e61c0bfe1194adfd885ec33ecb6aac9a..c6b199aaa6b6de92db67a17822995ac5133c4bbb 100644 (file)
@@ -8,8 +8,6 @@
 find_path(RDMACM_INCLUDE_DIR rdma/rdma_cma.h)
 find_library(RDMACM_LIBRARIES rdmacm)
 
-# 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(rdmacm DEFAULT_MSG RDMACM_LIBRARIES RDMACM_INCLUDE_DIR)
 
index b298cd256d027a738a9b725b74a25359b4b1184b..6ed5fda3d57dd83a806781b3d4d0c075d3e59e01 100644 (file)
@@ -13,8 +13,6 @@ find_library(SNAPPY_LIBRARIES
   NAMES snappy
   HINTS ${SNAPPY_ROOT_DIR}/lib)
 
-# 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(snappy DEFAULT_MSG SNAPPY_LIBRARIES SNAPPY_INCLUDE_DIR)
 
index 613e3618589dfc5cafce7d4989d5aed754bfc2b8..0409fe74aa78dec88fb2a70800b7765d83b07411 100644 (file)
@@ -4,17 +4,15 @@
 # VERBS_INCLUDE_DIR - where to find ibverbs.h, etc.
 # VERBS_LIBRARIES - List of libraries when using ibverbs.
 # VERBS_FOUND - True if ibverbs found.
+# HAVE_IBV_EXP - True if experimental verbs is enabled.
 
 find_path(VERBS_INCLUDE_DIR infiniband/verbs.h)
 find_library(VERBS_LIBRARIES ibverbs)
 
-# 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(verbs DEFAULT_MSG VERBS_LIBRARIES VERBS_INCLUDE_DIR)
 
 if(VERBS_FOUND)
-  message(STATUS "Found libibverbs: ${VERBS_LIBRARIES}")
   include(CheckCXXSourceCompiles)
   CHECK_CXX_SOURCE_COMPILES("
     #include <infiniband/verbs.h>
@@ -24,13 +22,6 @@ if(VERBS_FOUND)
       ibv_exp_query_gid_attr(ctxt, 1, 0, &gid_attr);
       return 0;
     } " HAVE_IBV_EXP)
-
-else()
-  message(STATUS "Not Found libibverbs: ${VERBS_LIBRARIES}")
-  if (VERBS_FIND_REQUIRED)
-    message(STATUS "Looked for libibverbs named ${VERBS_NAMES}.")
-    message(FATAL_ERROR "Could NOT find libibverbs")
-  endif()
 endif()
 
 mark_as_advanced(