From 115a1367dbe4115b8cdd2335c821a4536d835511 Mon Sep 17 00:00:00 2001 From: Tom Tan Date: Mon, 23 Aug 2021 07:57:15 -0700 Subject: [PATCH] Move CMake config template to cmake folder (#958) --- CMakeLists.txt | 2 +- .../opentelemetry-cpp-config.cmake.in | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename opentelemetry-cpp-config.cmake.in => cmake/opentelemetry-cpp-config.cmake.in (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8cbd374b3f..16899ad521 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -374,7 +374,7 @@ endif() # config file for find_packages(opentelemetry-cpp CONFIG) set(INCLUDE_INSTALL_DIR "${CMAKE_INSTALL_INCLUDEDIR}") configure_package_config_file( - "${CMAKE_CURRENT_LIST_DIR}/opentelemetry-cpp-config.cmake.in" + "${CMAKE_CURRENT_LIST_DIR}/cmake/opentelemetry-cpp-config.cmake.in" "${CMAKE_CURRENT_BINARY_DIR}/cmake/${PROJECT_NAME}/${PROJECT_NAME}-config.cmake" INSTALL_DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}" PATH_VARS OPENTELEMETRY_ABI_VERSION_NO OPENTELEMETRY_VERSION PROJECT_NAME diff --git a/opentelemetry-cpp-config.cmake.in b/cmake/opentelemetry-cpp-config.cmake.in similarity index 100% rename from opentelemetry-cpp-config.cmake.in rename to cmake/opentelemetry-cpp-config.cmake.in