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