2022-07-05 11:26:52 +00:00
|
|
|
# Copyright (C) 2022 The Qt Company Ltd.
|
|
|
|
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
|
|
|
|
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()
|