diff options
author | Bohumir Zamecnik <bohumir.zamecnik@gmail.com> | 2019-04-12 13:47:52 +0700 |
---|---|---|
committer | Albert Astals Cid <tsdgeos@yahoo.es> | 2019-10-21 21:19:21 +0000 |
commit | 78379d8434646dc68d20e935a7e7da38705fa6cd (patch) | |
tree | 099f7dfca0636e5ea3baa3698e93e69a3a05949e | |
parent | b35a585063723a5ed3cd592ce907fe605678d1bd (diff) |
Install Cairo headers if Cairo has been found.
Closes #83.
-rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
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() |