diff options
author | 2017-05-15 21:04:16 +0100 | |
---|---|---|
committer | 2017-05-15 22:42:03 +0100 | |
commit | b5984fa8d765c251a8ad2a0717c50be2710fa4b4 (patch) | |
tree | 41839639871d38832306619355d42cfbc0caa8db /CMakeLists.txt | |
parent | 8ced27a3641d3818b6324254e197141c57a37cee (diff) |
Revert "cmake: fix #8729"
This reverts commit c019e057c20db0b9c9a2f76fb0b9cd6f44addf92.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a65ce567a6..c4e0e0162d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14326,6 +14326,13 @@ endif (gRPC_BUILD_TESTS) +if (gRPC_INSTALL) + install(EXPORT gRPCTargets + DESTINATION ${CMAKE_INSTALL_CMAKEDIR} + NAMESPACE gRPC:: + ) +endif() + foreach(_config gRPCConfig gRPCConfigVersion) configure_file(tools/cmake/${_config}.cmake.in ${_config}.cmake @ONLY) |