move cmake config files to /cmake

pull/12411/head
Jan Tattermusch 8 years ago
parent 210f2a51e5
commit 9d1d0529d3
  1. 2
      CMakeLists.txt
  2. 0
      cmake/gRPCConfig.cmake.in
  3. 0
      cmake/gRPCConfigVersion.cmake.in
  4. 2
      templates/CMakeLists.txt.template

@ -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}

@ -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>

Loading…
Cancel
Save