From d1a1c8a1589f3cdb8673c4a38d390191f2f5e79a Mon Sep 17 00:00:00 2001 From: KTGH Date: Tue, 27 Feb 2024 19:22:44 -0500 Subject: [PATCH] Add description & URL to Cmake (#1785) Doesn't do much, but some packages/builders might find a use for these vars it provides... --- CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 73de511..94dcae9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -72,7 +72,12 @@ file(STRINGS httplib.h _raw_version_string REGEX "CPPHTTPLIB_VERSION \"([0-9]+\\ # since _raw_version_string would contain the entire line of code where it found the version string string(REGEX MATCH "([0-9]+\\.?)+" _httplib_version "${_raw_version_string}") -project(httplib VERSION ${_httplib_version} LANGUAGES CXX) +project(httplib + VERSION ${_httplib_version} + LANGUAGES CXX + DESCRIPTION "A C++ header-only HTTP/HTTPS server and client library." + HOMEPAGE_URL "https://github.com/yhirose/cpp-httplib" +) # Change as needed to set an OpenSSL minimum version. # This is used in the installed Cmake config file.