aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmake/install.cmake
diff options
context:
space:
mode:
authorGravatar Walter Gray <wgray@leapmotion.com>2016-05-19 15:55:12 -0700
committerGravatar Walter Gray <wgray@leapmotion.com>2016-05-20 18:03:32 -0700
commit28f35b4f16a9ac7c88571158fbb987de7d9dd610 (patch)
treeab3fb14672a79f4f40c84ec0d7360ef25d000e8a /cmake/install.cmake
parent38e4713191f835c3736f1f9f419a2c721e91d2f4 (diff)
add protobuf:: namespace to installed targets
Diffstat (limited to 'cmake/install.cmake')
-rw-r--r--cmake/install.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/install.cmake b/cmake/install.cmake
index e0962659..4d099558 100644
--- a/cmake/install.cmake
+++ b/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