diff options
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | cmake/gRPCConfig.cmake.in (renamed from tools/cmake/gRPCConfig.cmake.in) | 0 | ||||
-rw-r--r-- | cmake/gRPCConfigVersion.cmake.in (renamed from tools/cmake/gRPCConfigVersion.cmake.in) | 0 | ||||
-rw-r--r-- | templates/CMakeLists.txt.template | 2 |
4 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0cf3a1f732..5131bf39b4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14523,7 +14523,7 @@ if (gRPC_INSTALL) endif() foreach(_config gRPCConfig gRPCConfigVersion) - configure_file(tools/cmake/${_config}.cmake.in + configure_file(cmake/${_config}.cmake.in ${_config}.cmake @ONLY) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${_config}.cmake DESTINATION ${gRPC_INSTALL_CMAKEDIR} diff --git a/tools/cmake/gRPCConfig.cmake.in b/cmake/gRPCConfig.cmake.in index 1a0fa6a462..1a0fa6a462 100644 --- a/tools/cmake/gRPCConfig.cmake.in +++ b/cmake/gRPCConfig.cmake.in diff --git a/tools/cmake/gRPCConfigVersion.cmake.in b/cmake/gRPCConfigVersion.cmake.in index f3c19fd403..f3c19fd403 100644 --- a/tools/cmake/gRPCConfigVersion.cmake.in +++ b/cmake/gRPCConfigVersion.cmake.in diff --git a/templates/CMakeLists.txt.template b/templates/CMakeLists.txt.template index bbe7d7783c..6adff889fe 100644 --- a/templates/CMakeLists.txt.template +++ b/templates/CMakeLists.txt.template @@ -634,7 +634,7 @@ endif() foreach(_config gRPCConfig gRPCConfigVersion) - configure_file(tools/cmake/<%text>${_config}</%text>.cmake.in + configure_file(cmake/<%text>${_config}</%text>.cmake.in <%text>${_config}</%text>.cmake @ONLY) install(FILES <%text>${CMAKE_CURRENT_BINARY_DIR}/${_config}</%text>.cmake DESTINATION <%text>${gRPC_INSTALL_CMAKEDIR}</%text> |