FindUDevΒΆ

Try to find the UDev library.

This will define the following variables:

UDev_FOUND

System has UDev.

UDev_INCLUDE_DIRS

The libudev include directory.

UDev_LIBRARIES

The libudev libraries.

UDev_VERSION

The libudev version.

If UDev_FOUND is TRUE, it will also define the following imported target:

UDev::UDev

The UDev library

Since 5.57.0.