diff --git a/cmake/GoogleCloudCppFeatures.cmake b/cmake/GoogleCloudCppFeatures.cmake index 58f9bd19b6d69..f0b1c0ff5d0e8 100644 --- a/cmake/GoogleCloudCppFeatures.cmake +++ b/cmake/GoogleCloudCppFeatures.cmake @@ -362,9 +362,6 @@ macro (google_cloud_cpp_enable_cleanup) OR (sql IN_LIST GOOGLE_CLOUD_CPP_ENABLE) OR (generator IN_LIST GOOGLE_CLOUD_CPP_ENABLE)) set(GOOGLE_CLOUD_CPP_ENABLE_REST ON) - # Backwards compatibility. In the original release of `oauth2` we - # automatically compiled the library if REST was enabled - list(APPEND GOOGLE_CLOUD_CPP_ENABLE oauth2) endif () list(REMOVE_DUPLICATES GOOGLE_CLOUD_CPP_ENABLE)