W3cubDocs

/CMake 3.19

FindLibinput

New in version 3.14.

Find libinput headers and library.

Imported Targets

Libinput::Libinput

The libinput library, if found.

Result Variables

This will define the following variables in your project:

Libinput_FOUND

true if (the requested version of) libinput is available.

Libinput_VERSION

the version of libinput.

Libinput_LIBRARIES

the libraries to link against to use libinput.

Libinput_INCLUDE_DIRS

where to find the libinput headers.

Libinput_COMPILE_OPTIONS

this should be passed to target_compile_options(), if the target is not used for linking

© 2000–2020 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.19/module/FindLibinput.html