aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Schürmann <daschuer@mixxx.org>2021-08-09 18:04:09 +0200
committerGitHub <noreply@github.com>2021-08-09 09:04:09 -0700
commitaa069e6669a038aa705afc2e09377f62dc9905dd (patch)
treeca7dfb6bade192910f5d3740180cbff0992d8b80
parent7a4dc666e2b9758211c9a736a77b2518e4a49f09 (diff)
downloadvcpkg-aa069e6669a038aa705afc2e09377f62dc9905dd.tar.gz
vcpkg-aa069e6669a038aa705afc2e09377f62dc9905dd.zip
[harfbuzz] Set CMP0057 to New to make this port usable in old CMake projects (#19444)
-rw-r--r--ports/harfbuzz/harfbuzzConfig.cmake.in3
-rw-r--r--ports/harfbuzz/vcpkg.json1
-rw-r--r--versions/baseline.json2
-rw-r--r--versions/h-/harfbuzz.json5
4 files changed, 10 insertions, 1 deletions
diff --git a/ports/harfbuzz/harfbuzzConfig.cmake.in b/ports/harfbuzz/harfbuzzConfig.cmake.in
index b1cd6b6f5..a142735cf 100644
--- a/ports/harfbuzz/harfbuzzConfig.cmake.in
+++ b/ports/harfbuzz/harfbuzzConfig.cmake.in
@@ -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()
diff --git a/ports/harfbuzz/vcpkg.json b/ports/harfbuzz/vcpkg.json
index b61206326..6d5007235 100644
--- a/ports/harfbuzz/vcpkg.json
+++ b/ports/harfbuzz/vcpkg.json
@@ -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": [
diff --git a/versions/baseline.json b/versions/baseline.json
index 612049c2e..5dfc6d9ee 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -2498,7 +2498,7 @@
},
"harfbuzz": {
"baseline": "2.8.1",
- "port-version": 0
+ "port-version": 1
},
"hayai": {
"baseline": "2019-08-10",
diff --git a/versions/h-/harfbuzz.json b/versions/h-/harfbuzz.json
index 66f3d1ecc..698b0ded4 100644
--- a/versions/h-/harfbuzz.json
+++ b/versions/h-/harfbuzz.json
@@ -1,6 +1,11 @@
{
"versions": [
{
+ "git-tree": "0af28da9fe1d9f70c2f0b572c8e9eee085eb7c3b",
+ "version": "2.8.1",
+ "port-version": 1
+ },
+ {
"git-tree": "32e5438e1f8c76646b657f14fbe0dac7646d80f6",
"version": "2.8.1",
"port-version": 0