Blame 0001-Fix-Pango-includedirs.patch
|
Mystro256 |
402a780 |
From 10f449b6def7a39ec014acdf8ff9ececf818ad5e Mon Sep 17 00:00:00 2001
|
|
Mystro256 |
402a780 |
From: Mystro256 <alexjnewt@hotmail.com>
|
|
Mystro256 |
402a780 |
Date: Fri, 6 Mar 2020 10:24:51 -0500
|
|
Mystro256 |
402a780 |
Subject: [PATCH] Fix Pango includedirs
|
|
Mystro256 |
402a780 |
|
|
Mystro256 |
402a780 |
---
|
|
Mystro256 |
402a780 |
cmake/FindPango.cmake | 3 +++
|
|
Mystro256 |
402a780 |
1 file changed, 3 insertions(+)
|
|
Mystro256 |
402a780 |
|
|
Mystro256 |
402a780 |
diff --git a/cmake/FindPango.cmake b/cmake/FindPango.cmake
|
|
Mystro256 |
402a780 |
index 2a7da99d..8852cff7 100644
|
|
Mystro256 |
402a780 |
--- a/cmake/FindPango.cmake
|
|
Mystro256 |
402a780 |
+++ b/cmake/FindPango.cmake
|
|
Mystro256 |
402a780 |
@@ -46,6 +46,9 @@ if(Pango_LIBRARY AND NOT Pango_FOUND)
|
|
Mystro256 |
402a780 |
|
|
Mystro256 |
402a780 |
find_path(Pango_INCLUDE_DIR "pango/pango.h"
|
|
Mystro256 |
402a780 |
HINTS ${Pango_PKG_INCLUDE_DIRS})
|
|
Mystro256 |
402a780 |
+ find_path(harfbuzz_INCLUDE_DIR "harfbuzz/hb.h"
|
|
Mystro256 |
402a780 |
+ HINTS ${harfbuzz_PKG_INCLUDE_DIRS})
|
|
Mystro256 |
402a780 |
+ include_directories(${harfbuzz_INCLUDE_DIR}/harfbuzz)
|
|
Mystro256 |
402a780 |
|
|
Mystro256 |
402a780 |
if(Pango_INCLUDE_DIR)
|
|
Mystro256 |
402a780 |
file(STRINGS "${Pango_INCLUDE_DIR}/pango/pango-features.h" Pango_MAJOR_VERSION REGEX "^#define PANGO_VERSION_MAJOR +\\(?([0-9]+)\\)?$")
|
|
Mystro256 |
402a780 |
--
|
|
Mystro256 |
402a780 |
2.21.1
|
|
Mystro256 |
402a780 |
|