aboutsummaryrefslogtreecommitdiff
path: root/ports/harfbuzz
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 /ports/harfbuzz
parent7a4dc666e2b9758211c9a736a77b2518e4a49f09 (diff)
downloadvcpkg-aa069e6669a038aa705afc2e09377f62dc9905dd.tar.gz
vcpkg-aa069e6669a038aa705afc2e09377f62dc9905dd.zip
[harfbuzz] Set CMP0057 to New to make this port usable in old CMake projects (#19444)
Diffstat (limited to 'ports/harfbuzz')
-rw-r--r--ports/harfbuzz/harfbuzzConfig.cmake.in3
-rw-r--r--ports/harfbuzz/vcpkg.json1
2 files changed, 4 insertions, 0 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": [