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-06-05 08:08:44 +00:00
|
|
|
|
|
|
|
pkg_check_modules(XKB_COMMON_X11 "xkbcommon-x11>=0.4.1" IMPORTED_TARGET)
|
|
|
|
|
|
|
|
if (NOT TARGET PkgConfig::XKB_COMMON_X11)
|
|
|
|
set(XKB_COMMON_X11_FOUND 0)
|
|
|
|
endif()
|