File: FindFuse.cmake

package info (click to toggle)
ycm-cmake-modules 0.13.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,640 kB
  • sloc: python: 319; sh: 181; makefile: 22
file content (29 lines) | stat: -rw-r--r-- 1,147 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# SPDX-FileCopyrightText: 2012-2021 Istituto Italiano di Tecnologia (IIT)
# SPDX-License-Identifier: BSD-3-Clause

#[=======================================================================[.rst:
FindFuse
----------------

Try to find the Fuse library.
Once done this will define the following variables::

 Fuse_FOUND         - System has Fuse
 Fuse_INCLUDE_DIRS  - Fuse include directory
 Fuse_LIBRARIES     - Fuse libraries
 Fuse_DEFINITIONS   - Additional compiler flags for Fuse
 Fuse_VERSION       - Fuse version
 Fuse_MAJOR_VERSION - Fuse major version
 Fuse_MINOR_VERSION - Fuse minor version
 Fuse_PATCH_VERSION - Fuse patch version
 Fuse_TWEAK_VERSION - Fuse tweak version
#]=======================================================================]

include(StandardFindModule)
standard_find_module(Fuse fuse)

# Set package properties if FeatureSummary was included
if(COMMAND set_package_properties)
    set_package_properties(Fuse PROPERTIES DESCRIPTION "A simple interface for userspace programs to export a virtual filesystem to the Linux kernel"
                                           URL "http://fuse.sourceforge.net/")
endif()