فهرست منبع

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

Add protobuf:: namespace to installed targets
Feng Xiao 9 سال پیش
والد
کامیت
594ce567ab
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      cmake/install.cmake

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