diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2019-10-23 14:45:37 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2019-10-29 12:02:25 +0000 |
commit | f73456e18e0fbe959e623c94bd1ebb23769f7e34 (patch) | |
tree | 7186e2db12a20c17a2ab043e697d48a92599ab04 /src/x11extras/CMakeLists.txt | |
parent | 80edaf92f5f8351ec15f631cb7dc7da136528b60 (diff) | |
download | qtx11extras-f73456e18e0fbe959e623c94bd1ebb23769f7e34.tar.gz |
Port to CMake
Also removed dependencies.yaml to fix the build as that's not used in
wip/cmake yet.
Fixes: QTBUG-78170
Change-Id: Ibe3a9bb5ddc7d3b4bf979847af6ad3467bf2d866
Reviewed-by: Qt CMake Build Bot
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/x11extras/CMakeLists.txt')
-rw-r--r-- | src/x11extras/CMakeLists.txt | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/x11extras/CMakeLists.txt b/src/x11extras/CMakeLists.txt new file mode 100644 index 0000000..2bd7dd6 --- /dev/null +++ b/src/x11extras/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from x11extras.pro. + +# begin special case +if(NOT TARGET XCB::XCB) + qt_find_package(XCB REQUIRED PROVIDED_TARGETS XCB::XCB) +endif() +# end special case + +##################################################################### +## X11Extras Module: +##################################################################### + +add_qt_module(X11Extras + SOURCES + qx11info_x11.cpp qx11info_x11.h + DEFINES + QT_NO_USING_NAMESPACE + LIBRARIES + Qt::GuiPrivate + XCB::XCB_nolink + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:x11extras.pro:<TRUE>: +# _LOADED = "qt_module" +add_qt_docs(X11Extras + doc/qtx11extras.qdocconf +) + |