[declarativeimports/core] Specify HAVE_XCB_COMPOSITE in config-x11.h
This commit is contained in:
parent
286300ad35
commit
fae8384845
@ -1,7 +1,7 @@
|
||||
if(HAVE_X11 AND XCB_XCB_FOUND AND XCB_COMPOSITE_FOUND AND XCB_DAMAGE_FOUND)
|
||||
add_definitions(-DHAVE_XCB_COMPOSITE=1)
|
||||
set(HAVE_XCB_COMPOSITE TRUE)
|
||||
else()
|
||||
add_definitions(-DHAVE_XCB_COMPOSITE=0)
|
||||
set(HAVE_XCB_COMPOSITE FALSE)
|
||||
endif()
|
||||
|
||||
configure_file(config-x11.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-x11.h)
|
||||
|
@ -1 +1,2 @@
|
||||
#cmakedefine01 HAVE_X11
|
||||
#cmakedefine01 HAVE_XCB_COMPOSITE
|
||||
|
@ -19,6 +19,7 @@
|
||||
#ifndef PLASMA_WINDOWTHUMBNAIL_H
|
||||
#define PLASMA_WINDOWTHUMBNAIL_H
|
||||
#include <config-plasma.h>
|
||||
#include <config-x11.h>
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user