Quellcode durchsuchen

add protobuf:: namespace to installed targets

Walter Gray vor 9 Jahren
Ursprung
Commit
28f35b4f16
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  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