Commit 7b7c4115 authored by Frederik Gladhorn's avatar Frederik Gladhorn

cmake: Simplify HAVE_XCB

parent df9922a0
......@@ -298,11 +298,7 @@ if (NOT WIN32 AND NOT APPLE)
endif()
find_package(XCB COMPONENTS XCB ATOM)
if(XCB_FOUND)
set(HAVE_XCB TRUE)
else()
set(HAVE_XCB FALSE)
endif()
set(HAVE_XCB ${XCB_FOUND})
else()
set(HAVE_DBUS FALSE)
set(HAVE_X11 FALSE)
......
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