tests/auto/gui/platform/qx11info/CMakeLists.txt
raw| 1 | # Copyright (C) 2022 The Qt Company Ltd. |
| 2 | # SPDX-License-Identifier: BSD-3-Clause |
| 3 | |
| 4 | if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT) |
| 5 | cmake_minimum_required(VERSION 3.16) |
| 6 | project(tst_qx11info LANGUAGES CXX) |
| 7 | find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST) |
| 8 | endif() |
| 9 | |
| 10 | qt_internal_add_test(tst_qx11info |
| 11 | SOURCES |
| 12 | tst_qx11info.cpp |
| 13 | LIBRARIES |
| 14 | Qt::GuiPrivate |
| 15 | XCB::XCB |
| 16 | ) |