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