diff --git a/cmake/install.cmake b/cmake/install.cmake index e0962659c1..4d0995587d 100644 --- a/cmake/install.cmake +++ b/cmake/install.cmake @@ -92,6 +92,7 @@ endif() install(EXPORT protobuf-targets DESTINATION "${CMAKE_INSTALL_CMAKEDIR}" + NAMESPACE protobuf:: COMPONENT protobuf-export) configure_file(protobuf-config.cmake.in