Move find_package() calls into the respective directories
All should be done except for KF5 and Qt. I tried to go through all projects and see whether it depended on the different modules. I would appreciate it very much if the different maintainers could take a look and see if everything is correct. CCMAIL: plasma-devel@kde.org
This commit is contained in:
parent
7c1538957d
commit
7ae2fe422c
1 changed files with 5 additions and 0 deletions
|
@ -114,6 +114,11 @@ set_package_properties(X11 PROPERTIES DESCRIPTION "X11 libraries"
|
||||||
TYPE REQUIRED
|
TYPE REQUIRED
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
if(NOT OPENGL_FOUND AND NOT OPENGLES_FOUND)
|
||||||
|
message(FATAL_ERROR "Either OpenGL or OpenGL ES 2.0 are required for Compositing support in KWin.")
|
||||||
|
endif()
|
||||||
|
|
||||||
# All the required XCB components
|
# All the required XCB components
|
||||||
find_package(XCB REQUIRED COMPONENTS
|
find_package(XCB REQUIRED COMPONENTS
|
||||||
XCB
|
XCB
|
||||||
|
|
Loading…
Reference in a new issue