Skip to content

Commit 10c0019

Browse files
authored
chore: Fixed license path and CMake minimum version. (#566)
1 parent 58c963a commit 10c0019

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.5.1)
1+
cmake_minimum_required(VERSION 3.25.0)
22
cmake_policy(SET CMP0069 NEW)
33

44
project(llhttp VERSION _RELEASE_)

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ release: clean generate
5555
sed s/_RELEASE_/$(RELEASE)/ CMakeLists.txt > release/CMakeLists.txt
5656
cp -rf libllhttp.pc.in release/
5757
cp -rf README.md release/
58-
cp -rf LICENSE-MIT release/
58+
cp -rf LICENSE release/
5959

6060
github-release:
6161
@echo "${RELEASE_V}" | grep -q -E "^v" || { echo "Please make sure version starts with \"v\"."; exit 1; }
@@ -74,7 +74,7 @@ postversion: release
7474
git checkout release --
7575
cp -rf release/* ./
7676
rm -rf release
77-
git add include src *.gyp *.gypi CMakeLists.txt README.md LICENSE-MIT libllhttp.pc.in
77+
git add include src *.gyp *.gypi CMakeLists.txt README.md LICENSE libllhttp.pc.in
7878
git commit -a -m "release: $(RELEASE)"
7979
git tag "release/v$(RELEASE)"
8080
git push && git push --tags

0 commit comments

Comments
 (0)