aboutsummaryrefslogtreecommitdiff
path: root/cmake/install.cmake
diff options
context:
space:
mode:
authorFeng Xiao <xiaofeng@google.com>2016-05-20 20:23:36 -0700
committerFeng Xiao <xiaofeng@google.com>2016-05-20 20:23:36 -0700
commit594ce567ab8a0fd77604ae4a1748cc4f88a24cdf (patch)
treeab3fb14672a79f4f40c84ec0d7360ef25d000e8a /cmake/install.cmake
parent38e4713191f835c3736f1f9f419a2c721e91d2f4 (diff)
parent28f35b4f16a9ac7c88571158fbb987de7d9dd610 (diff)
downloadprotobuf-594ce567ab8a0fd77604ae4a1748cc4f88a24cdf.tar.gz
protobuf-594ce567ab8a0fd77604ae4a1748cc4f88a24cdf.tar.bz2
protobuf-594ce567ab8a0fd77604ae4a1748cc4f88a24cdf.zip
Merge pull request #1578 from wal-rus/cmake-install-namespace
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