Merge pull request #1578 from wal-rus/cmake-install-namespace

Add protobuf:: namespace to installed targets
This commit is contained in:
Feng Xiao 2016-05-20 20:23:36 -07:00
commit 594ce567ab

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