File: CMakeLists.txt

package info (click to toggle)
qpdf 12.3.2-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 72,660 kB
  • sloc: cpp: 59,054; perl: 12,189; ansic: 6,809; sh: 1,231; python: 1,041; xml: 43; makefile: 42
file content (12 lines) | stat: -rw-r--r-- 541 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
set(qpdf_INCLUDE ${CMAKE_CURRENT_SOURCE_DIR} PARENT_SCOPE)

# While globs are not considered best practice, it makes sense for
# installation o header files. When compiling, you specify an entire
# directory, so not doing the same at installation time creates a high
# risk that forgetting to explicitly add a header to an installation
# list would not be detected in CI or at any time until an end user
# tries to build code.
install(DIRECTORY qpdf
  TYPE INCLUDE
  COMPONENT ${COMPONENT_DEV}
  FILES_MATCHING PATTERN "*.h" PATTERN "*.hh")