diff --git a/generator/standalone_main.cc b/generator/standalone_main.cc index 19dd336f3f0ed..d6d04cb60ecc1 100644 --- a/generator/standalone_main.cc +++ b/generator/standalone_main.cc @@ -185,8 +185,9 @@ int WriteInstallDirectories( // TODO(#14402): Consider enhancing the generator_config.proto to allow custom // libs to be specified. OTOH, it may not be needed often enough to justify. - install_directories.push_back("./lib64/cmake/google_cloud_cpp_bigquery_job"); - install_directories.push_back( + install_directories.emplace_back( + "./lib64/cmake/google_cloud_cpp_bigquery_job"); + install_directories.emplace_back( "./lib64/cmake/google_cloud_cpp_bigquery_job_mocks"); std::sort(install_directories.begin(), install_directories.end());