summaryrefslogtreecommitdiffstats
path: root/Tests/FindX11
diff options
context:
space:
mode:
authorZsolt Parragi <zsolt.parragi@cancellar.hu>2019-11-29 19:08:46 (GMT)
committerZsolt Parragi <zsolt.parragi@cancellar.hu>2020-03-04 15:55:32 (GMT)
commit77802aab9714bf1596fee46f32a8ba5efc5513d4 (patch)
tree20cc9d2918e35a880eebe145ad85b685d6b5c6b9 /Tests/FindX11
parent7120ffc994b85bcd3259743c043192c019082ef8 (diff)
downloadCMake-77802aab9714bf1596fee46f32a8ba5efc5513d4.zip
CMake-77802aab9714bf1596fee46f32a8ba5efc5513d4.tar.gz
CMake-77802aab9714bf1596fee46f32a8ba5efc5513d4.tar.bz2
FindX11: Find additional libraries
With this change, FindLibrary(X11) learns about the following libraries: * xcb * X11-xcb * xcb-icccm * xcb-xkb * xkbcommon * xkbcommon-X11
Diffstat (limited to 'Tests/FindX11')
-rw-r--r--Tests/FindX11/Test/CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/FindX11/Test/CMakeLists.txt b/Tests/FindX11/Test/CMakeLists.txt
index 769271f..b2adfb2 100644
--- a/Tests/FindX11/Test/CMakeLists.txt
+++ b/Tests/FindX11/Test/CMakeLists.txt
@@ -29,6 +29,10 @@ test_x11_component(x11_components SM)
set(X11_X11_FOUND ${X11_FOUND})
test_x11_component(x11_components X11)
test_x11_component(x11_components Xau)
+test_x11_component(x11_components xcb)
+test_x11_component(x11_components X11_xcb)
+test_x11_component(x11_components xcb_icccm)
+test_x11_component(x11_components xcb_xkb)
test_x11_component(x11_components Xcomposite)
test_x11_component(x11_components Xdamage)
test_x11_component(x11_components Xdmcp)
@@ -41,6 +45,8 @@ test_x11_component(x11_components Xfixes)
test_x11_component(x11_components_ignore Xft)
test_x11_component(x11_components Xi)
test_x11_component(x11_components Xinerama)
+test_x11_component(x11_components xkbcommon)
+test_x11_component(x11_components xkbcommon_X11)
test_x11_component(x11_components Xkb)
test_x11_component(x11_components xkbfile)
test_x11_component(x11_components Xmu)
@@ -61,6 +67,9 @@ target_link_libraries(test_var PRIVATE ${X11_LIBRARIES})
# Not included in X11_LIBRARIES.
foreach(lib
Xau
+ xcb
+ X11_xcb
+ xcb_icccm
Xcomposite
Xdamage
Xdmcp
@@ -69,6 +78,8 @@ foreach(lib
Xfixes
Xi
Xinerama
+ xkbcommon
+ xkbcommon_X11
Xkb
xkbfile
Xmu