add protobuf:: namespace to installed targets

This commit is contained in:
Walter Gray 2016-05-19 15:55:12 -07:00
parent 38e4713191
commit 28f35b4f16

View File

@ -92,6 +92,7 @@ endif()
install(EXPORT protobuf-targets
DESTINATION "${CMAKE_INSTALL_CMAKEDIR}"
NAMESPACE protobuf::
COMPONENT protobuf-export)
configure_file(protobuf-config.cmake.in