2022-07-05 11:26:52 +00:00
|
|
|
# Copyright (C) 2022 The Qt Company Ltd.
|
2022-08-19 13:21:34 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
2022-07-05 11:26:52 +00:00
|
|
|
|
2020-06-26 18:41:29 +00:00
|
|
|
find_package(PkgConfig QUIET)
|
2018-10-24 13:20:27 +00:00
|
|
|
|
2019-02-11 13:00:30 +00:00
|
|
|
pkg_check_modules(Libudev libudev IMPORTED_TARGET)
|
2019-06-03 11:31:19 +00:00
|
|
|
|
|
|
|
if (NOT TARGET PkgConfig::Libudev)
|
|
|
|
set(Libudev_FOUND 0)
|
|
|
|
endif()
|