Commit 209ee476 authored by Thiago Macieira's avatar Thiago Macieira

Make sure that kde-workspace does find the X11 libraries

since we're using ${X11_LIBRARIES} just about everywhere.

This is currently being found indirectly by one or two paths: via
Qt4ConfigDependentSettings.cmake or FindOpenGL.cmake. The former is a
ticking time-bomb, since the one in upstream CMake does *not* do
find_package(X11). The latter is also a bomb since OpenGL is optional
in kde-workspace (it works with OpenGL/ES).
parent 949398c1
......@@ -81,6 +81,12 @@ if(Q_WS_X11)
TYPE REQUIRED
)
find_package(X11 REQUIRED)
set_package_properties(X11 PROPERTIES DESCRIPTION "X11 libraries"
URL "http://www.x.org"
TYPE REQUIRED
)
add_feature_info("Automated testing of X clients" X11_XTest_FOUND
"The X11 Testing Resource extension library is useful for automated testing of X clients")
add_feature_info("libXau" X11_Xau_FOUND "The X11 Authorization Protocol library may be used by KDM")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment