add protobuf:: namespace to installed targets

pull/1578/head
Walter Gray 9 years ago
parent 38e4713191
commit 28f35b4f16
  1. 1
      cmake/install.cmake

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

Loading…
Cancel
Save