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)
|
2019-02-12 09:47:12 +00:00
|
|
|
|
|
|
|
pkg_check_modules(Mtdev mtdev IMPORTED_TARGET)
|
2019-06-03 11:31:19 +00:00
|
|
|
|
2020-02-10 11:35:46 +00:00
|
|
|
if (NOT TARGET PkgConfig::Mtdev)
|
2019-06-03 11:31:19 +00:00
|
|
|
set(Mtdev_FOUND 0)
|
|
|
|
endif()
|