summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2022-12-04 03:57:01 +0100
committerAlbert Astals Cid <aacid@kde.org>2022-12-04 03:58:20 +0100
commit49a883dfac1a92fd959a1421627279aec26dcbb9 (patch)
treee088c37ff89d7d3ed0244c3e3dd2efdf5029f4d8
parent9bd49f486ed8442943a08cfee42136a5575c6a1b (diff)
cmake: Make sure cairo includes are complete
-rw-r--r--cmake/modules/FindCairo.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/FindCairo.cmake b/cmake/modules/FindCairo.cmake
index d536c051..f0d1466a 100644
--- a/cmake/modules/FindCairo.cmake
+++ b/cmake/modules/FindCairo.cmake
@@ -47,7 +47,7 @@ if(CAIRO_FOUND)
HINTS ${_pc_cairo_INCLUDE_DIRS}
PATH_SUFFIXES cairo
)
- set(CAIRO_INCLUDE_DIRS "${CAIRO_INCLUDE_DIR}")
+ set(CAIRO_INCLUDE_DIRS "${CAIRO_INCLUDE_DIR};${_pc_cairo_INCLUDE_DIRS}")
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Cairo DEFAULT_MSG CAIRO_LIBRARIES CAIRO_INCLUDE_DIRS)