From 10c0019bedf8522f7567cd247f610bbee6cafd14 Mon Sep 17 00:00:00 2001 From: Paolo Insogna Date: Thu, 16 Jan 2025 06:57:45 +0100 Subject: [PATCH] chore: Fixed license path and CMake minimum version. (#566) --- CMakeLists.txt | 2 +- Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fecb397c..9fb106aa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.25.0) cmake_policy(SET CMP0069 NEW) project(llhttp VERSION _RELEASE_) diff --git a/Makefile b/Makefile index d9c6d35d..e2d91ff6 100644 --- a/Makefile +++ b/Makefile @@ -55,7 +55,7 @@ release: clean generate sed s/_RELEASE_/$(RELEASE)/ CMakeLists.txt > release/CMakeLists.txt cp -rf libllhttp.pc.in release/ cp -rf README.md release/ - cp -rf LICENSE-MIT release/ + cp -rf LICENSE release/ github-release: @echo "${RELEASE_V}" | grep -q -E "^v" || { echo "Please make sure version starts with \"v\"."; exit 1; } @@ -74,7 +74,7 @@ postversion: release git checkout release -- cp -rf release/* ./ rm -rf release - git add include src *.gyp *.gypi CMakeLists.txt README.md LICENSE-MIT libllhttp.pc.in + git add include src *.gyp *.gypi CMakeLists.txt README.md LICENSE libllhttp.pc.in git commit -a -m "release: $(RELEASE)" git tag "release/v$(RELEASE)" git push && git push --tags