소스 검색

add protobuf:: namespace to installed targets

Walter Gray 9 년 전
부모
커밋
28f35b4f16
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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