Warning, /plasma/print-manager/cmake/modules/FindCupsSmb.cmake is written in an unsupported language. File is not indexed.

0001 # FindCupsSmb
0002 # ------------
0003 #
0004 # Try to find smb backend for cups. This is generally installed as smbspool but
0005 # needs symlinking into place for CUPS (by the distribution).
0006 #
0007 # This will define the following variables:
0008 #
0009 # ``CupsSmb_FOUND``
0010 #     True if (the requested version of) CupsSmb is available
0011 # ``CupsSmb_BACKEND``
0012 #     Path of smb backend file
0013 
0014 # SPDX-FileCopyrightText: 2019 Harald Sitter <sitter@kde.org>
0015 # SPDX-License-Identifier: BSD-3-Clause
0016 
0017 find_file(CupsSmb_BACKEND smb
0018     PATHS
0019         /lib/cups/backend/
0020         /usr/lib/cups/backend/
0021 )
0022 
0023 include(FindPackageHandleStandardArgs)
0024 find_package_handle_standard_args(CupsSmb
0025     FOUND_VAR
0026         CupsSmb_FOUND
0027     REQUIRED_VARS
0028         CupsSmb_BACKEND
0029 )