Skip to content

Commit

Permalink
Merge pull request OSGeo#6364 from rouault/followup_pr_6347
Browse files Browse the repository at this point in the history
CMake: Poppler: tighten fix of PR OSGeo#6347 for broken 18.04 package
  • Loading branch information
rouault authored Sep 15, 2022
2 parents 84e622a + ebd5c87 commit 0eac422
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frmts/pdf/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ if (GDAL_USE_POPPLER)
# installed, create a dummy one in a temporary directory
# To be removed once https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/1989434 is fixed
if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux" AND
"${Poppler_INCLUDE_DIRS}" STREQUAL "/usr/include/poppler" AND
EXISTS /usr/include/poppler/goo/gmem.h AND
NOT EXISTS /usr/include/poppler/goo/GooCheckedOps.h)
file(READ /usr/include/poppler/goo/gmem.h GMEM_H_CONTENTS)
Expand Down

0 comments on commit 0eac422

Please sign in to comment.