File: FindPopplerXPDFHeaders.cmake

package info (click to toggle)
calligra 1%3A3.2.1%2Bdfsg-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 261,632 kB
  • sloc: cpp: 650,836; xml: 27,662; python: 6,044; perl: 2,724; yacc: 1,817; ansic: 1,325; sh: 1,277; lex: 1,107; ruby: 1,010; javascript: 495; makefile: 17
file content (17 lines) | stat: -rw-r--r-- 438 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# - Try to find the poppler not-officially-supported XPDF headers
# Once done this will define
#
#  PopplerXPDFHeaders_FOUND - system has poppler not-officially-supported XPDF headers
#

find_package(Poppler COMPONENTS Core)

if(Poppler_Core_FOUND)
    find_path(POPPLER_XPDF_HEADERS poppler-config.h
        HINTS ${Poppler_INCLUDE_DIRS}
    )

    if(POPPLER_XPDF_HEADERS)
        set(PopplerXPDFHeaders_FOUND TRUE)
    endif()
endif()