From 78379d8434646dc68d20e935a7e7da38705fa6cd Mon Sep 17 00:00:00 2001 From: Bohumir Zamecnik Date: Fri, 12 Apr 2019 13:47:52 +0700 Subject: Install Cairo headers if Cairo has been found. Closes #83. --- CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8e27bc29..4eaea26e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -662,6 +662,13 @@ if(ENABLE_UNSTABLE_API_ABI_HEADERS) splash/SplashXPathScanner.h DESTINATION include/poppler/splash) endif() + if(CAIRO_FOUND) + install(FILES + poppler/CairoFontEngine.h + poppler/CairoOutputDev.h + poppler/CairoRescaleBox.h + DESTINATION include/poppler) + endif() endif() -- cgit v1.2.3