diff --git a/CMakeLists.txt b/CMakeLists.txt index e8e3017..6d87c02 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,6 +14,9 @@ set(CXX_EXTENSIONS NO) set(BOOST_INCLUDE_LIBRARIES "pfr;asio") option(CPM_USE_LOCAL_PACKAGES "Use local packages" ON) option(UTEMPL_USE_LOCAL_PACKAGE "Use utempl local package" OFF) +set(UTEMPL_URL + "https://ivt5wiimhwpo56td6eodn2n3fduug3bglqvqewbk2jnyl4hcimea.b32.i2p/git/sha512sum/utempl" + CACHE STRING "utempl repository URL") file(GLOB_RECURSE LIB_SOURCES "library/src/*.cpp") file(GLOB_RECURSE SOURCES "src/*.cpp") @@ -56,7 +59,7 @@ set(CPM_USE_LOCAL_PACKAGES ${UTEMPL_USE_LOCAL_PACKAGE}) CPMAddPackage( NAME utempl - URL "https://github.com/linuxnyasha/utempl/archive/refs/heads/main.zip" + URL "${UTEMPL_URL}/archive/refs/heads/main.zip" EXCLUDE_FROM_ALL ON OPTIONS "ENABLE_TESTS OFF" "ENABLE_EXAMPLES OFF" )