Explorar o código

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

Add protobuf:: namespace to installed targets
Feng Xiao %!s(int64=9) %!d(string=hai) anos
pai
achega
594ce567ab
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      cmake/install.cmake

+ 1 - 0
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