From e2dea06300f571ce20c45f020c37e83c731c93dd Mon Sep 17 00:00:00 2001 From: Anton Zhilin Date: Thu, 12 Dec 2024 23:55:04 +0300 Subject: [PATCH] Fix --- CMakeLists.txt | 9 ++------- third_party/Readme.md | 11 ----------- 2 files changed, 2 insertions(+), 18 deletions(-) delete mode 100644 third_party/Readme.md diff --git a/CMakeLists.txt b/CMakeLists.txt index 290a714..3166b13 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,13 +6,8 @@ include(DownloadUserver) find_package(userver COMPONENTS core QUIET) if(NOT userver_FOUND) - # Tries TRY_DIR first, falls back to downloading userver using CPM. - download_userver( - TRY_DIR "${CMAKE_CURRENT_SOURCE_DIR}/third_party/userver" - GITHUB_REPOSITORY userver-framework/userver - # Optionally: pin userver version for reproducible builds. - GIT_TAG develop - ) + # Tries TRY_DIR first, falls back to downloading userver from GitHub using CPM. + download_userver(TRY_DIR third_party/userver) endif() userver_setup_environment() diff --git a/third_party/Readme.md b/third_party/Readme.md deleted file mode 100644 index 2e623aa..0000000 --- a/third_party/Readme.md +++ /dev/null @@ -1,11 +0,0 @@ -### Directory for third party libraries - -`userver` placed into this directory would be used if there's no installed -userver framework. For example: - -``` -cd /data/code -git clone --depth 1 https://github.com/userver-framework/userver.git -git clone --depth 1 https://github.com/userver-framework/service_template.git -ln -s /data/code/userver /data/code/service_template/third_party/userver -```