Finds the Common UNIX Printing System (CUPS).
This module provides the following Imported Targets:
Cups::CupsAdded in version 3.15.
Target encapsulating the CUPS usage requirements, available only if CUPS is found.
This module defines the following variables:
Cups_FOUNDBoolean indicating whether the CUPS is found. For backward compatibility, the
CUPS_FOUND variable is also set to the same value.
CUPS_INCLUDE_DIRSInclude directories needed for using CUPS.
CUPS_VERSION_STRINGThe version of CUPS found.
The following cache variables may also be set:
CUPS_INCLUDE_DIRThe directory containing the CUPS headers.
CUPS_LIBRARIESLibraries needed to link against to use CUPS.
This module accepts the following variables:
CUPS_REQUIRE_IPP_DELETE_ATTRIBUTESet this variable to TRUE to require CUPS version which features the
ippDeleteAttribute() function (i.e. at least of CUPS 1.1.19).
Finding CUPS and linking it to a project target:
find_package(Cups)
target_link_libraries(project_target PRIVATE Cups::Cups)