From 38abfcb5d036c050a363533a2c7b658d528d3612 Mon Sep 17 00:00:00 2001 From: Daniel Gryniewicz Date: Fri, 10 Jun 2016 11:33:56 -0400 Subject: [PATCH] Allow building RGW with LDAP disabled Signed-off-by: Daniel Gryniewicz --- src/CMakeLists.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b5a356a2689..2eac409e668 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1317,10 +1317,6 @@ endif(${WITH_KVS}) if(${WITH_RADOSGW}) - if(${HAVE_OPENLDAP}) - set(rgw_ldap_srcs rgw/rgw_ldap.cc) - endif(${HAVE_OPENLDAP}) - set(rgw_a_srcs rgw/rgw_acl.cc rgw/rgw_acl_s3.cc @@ -1343,7 +1339,7 @@ if(${WITH_RADOSGW}) rgw/rgw_http_client.cc rgw/rgw_json_enc.cc rgw/rgw_keystone.cc - ${rgw_ldap_srcs} + rgw/rgw_ldap.cc rgw/rgw_loadgen.cc rgw/rgw_log.cc rgw/rgw_metadata.cc