Remove the need of having a global HAVE_X11 variable
Use the standard X11_FOUND instead Also properly set the HAVE_X11 value, since it's checked with #if HAVE_X11 instead of #ifdef.
This commit is contained in:
parent
845d5872c4
commit
7c1538957d
1 changed files with 0 additions and 1 deletions
|
@ -113,7 +113,6 @@ set_package_properties(X11 PROPERTIES DESCRIPTION "X11 libraries"
|
|||
URL "http://www.x.org"
|
||||
TYPE REQUIRED
|
||||
)
|
||||
set(HAVE_X11 ${X11_FOUND})
|
||||
|
||||
# All the required XCB components
|
||||
find_package(XCB REQUIRED COMPONENTS
|
||||
|
|
Loading…
Reference in a new issue