Skip to content

Commit

Permalink
[harfbuzz] Set CMP0057 to New to make this port usable in old CMake p…
Browse files Browse the repository at this point in the history
…rojects (#19444)
  • Loading branch information
daschuer authored Aug 9, 2021
1 parent 7a4dc66 commit aa069e6
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ports/harfbuzz/harfbuzzConfig.cmake.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# For old projects where the minimum CMake version is lower than 3.3.
cmake_policy(SET CMP0057 NEW)

if(TARGET harfbuzz)
return()
endif()
Expand Down
1 change: 1 addition & 0 deletions ports/harfbuzz/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "harfbuzz",
"version": "2.8.1",
"port-version": 1,
"description": "HarfBuzz OpenType text shaping engine",
"homepage": "https://github.com/harfbuzz/harfbuzz",
"dependencies": [
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -2498,7 +2498,7 @@
},
"harfbuzz": {
"baseline": "2.8.1",
"port-version": 0
"port-version": 1
},
"hayai": {
"baseline": "2019-08-10",
Expand Down
5 changes: 5 additions & 0 deletions versions/h-/harfbuzz.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "0af28da9fe1d9f70c2f0b572c8e9eee085eb7c3b",
"version": "2.8.1",
"port-version": 1
},
{
"git-tree": "32e5438e1f8c76646b657f14fbe0dac7646d80f6",
"version": "2.8.1",
Expand Down

0 comments on commit aa069e6

Please sign in to comment.